Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
c53695f5
Commit
c53695f5
authored
Dec 15, 2011
by
tbrehm
Browse files
- Fixed some php notices.
- Added error_reporting level in app.inc.php to E_ALL & ~E_NOTICE
parent
8506fc9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
interface/lib/app.inc.php
View file @
c53695f5
...
...
@@ -28,12 +28,17 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//* Enable gzip compression for the interface
ob_start
(
'ob_gzhandler'
);
//* Set error reporting level when we are not on a developer system
if
(
DEVSYSTEM
==
0
)
{
@
ini_set
(
'error_reporting'
,
E_ALL
&
~
E_NOTICE
);
}
/*
Application Class
*/
ob_start
(
'ob_gzhandler'
);
class
app
{
private
$_language_inc
=
0
;
...
...
interface/lib/config.inc.php
View file @
c53695f5
...
...
@@ -45,6 +45,7 @@ $revision = str_replace(array('Revision:','$',' '), '', $svn_revision);
//** Application
define
(
'ISPC_APP_TITLE'
,
'ISPConfig'
);
define
(
'ISPC_APP_VERSION'
,
'3.0.2'
);
define
(
'DEVSYSTEM'
,
0
);
//** Database
...
...
interface/web/dashboard/lib/custom_menu.inc.php
View file @
c53695f5
...
...
@@ -51,6 +51,8 @@ switch($_SESSION['s']['user']['typ']) {
$atom_url
=
""
;
}
$rows
=
array
();
if
(
$atom_url
!=
''
)
{
if
(
!
isset
(
$_SESSION
[
's'
][
'rss_news'
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment