diff options
author | Aleksander Machniak <alec@alec.pl> | 2017-11-18 17:46:06 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2017-11-18 17:46:06 +0300 |
commit | fd373aa0e21e070b72b3c4809eb6c57de30e823f (patch) | |
tree | 1edccaa2bb1c11ab209efdfc503dd0e0353d7e43 /installer | |
parent | bb9fa55f00d816e8c3349a48ee3ed5b7fba2f7fe (diff) |
Fix PHP 7.2 warning on undefined constant RCMAIL_VERSION
Diffstat (limited to 'installer')
-rw-r--r-- | installer/index.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/installer/index.php b/installer/index.php index 7f40a82e8..56b4122fe 100644 --- a/installer/index.php +++ b/installer/index.php @@ -36,25 +36,11 @@ +-------------------------------------------------------------------------+ */ -ini_set('error_reporting', E_ALL &~ (E_NOTICE | E_STRICT)); ini_set('display_errors', 1); define('INSTALL_PATH', realpath(__DIR__ . '/../').'/'); -define('RCUBE_INSTALL_PATH', INSTALL_PATH); -define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/'); -$include_path = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR; -$include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR; -$include_path .= ini_get('include_path'); - -set_include_path($include_path); - -// include composer autoloader (if available) -if (@file_exists(INSTALL_PATH . 'vendor/autoload.php')) { - require INSTALL_PATH . 'vendor/autoload.php'; -} - -require_once 'Roundcube/bootstrap.php'; +require INSTALL_PATH . 'program/include/iniset.php'; if (function_exists('session_start')) session_start(); |