Skip to content

Commit

Permalink
Removed debugging code from the Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Oct 31, 2019
1 parent 35759e2 commit 147992b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions public_html/admin/install/classes/installer.class.php
Expand Up @@ -79,12 +79,6 @@ public function __construct()
global $LANG_BIGDUMP, $LANG_CHARSET, $LANG_DIRECTION, $LANG_ERROR, $LANG_HELP, $LANG_INSTALL,
$LANG_LABEL, $LANG_MIGRATE, $LANG_PLUGINS, $LANG_RESCUE, $LANG_SUCCESS;

// Set error reporting
if (is_callable('ini_set')) {
@ini_set('display_errors', '1');
}
error_reporting(-1);

// this is not ideal but will stop PHP 5.3.0ff from complaining ...
date_default_timezone_set(@date_default_timezone_get());

Expand Down
4 changes: 1 addition & 3 deletions public_html/admin/install/index.php
Expand Up @@ -8,7 +8,7 @@
// | |
// | Geeklog installation script. |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2007-2011 by the following authors: |
// | Copyright (C) 2007-2019 by the following authors: |
// | |
// | Authors: Matt West - matt AT mattdanger DOT net |
// | Dirk Haun - dirk AT haun-online DOT de |
Expand All @@ -33,8 +33,6 @@
// | docs/english/install.html which describes how to install Geeklog. |
// +---------------------------------------------------------------------------+

error_reporting(-1);

define('PATH_INSTALL', __DIR__ . '/');
define('PATH_LAYOUT', PATH_INSTALL . 'layout');
define('BASE_FILE', str_replace('\\', '/', __FILE__));
Expand Down

0 comments on commit 147992b

Please sign in to comment.