summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authortill <till@php.net>2008-05-26 10:42:20 +0000
committertill <till@php.net>2008-05-26 10:42:20 +0000
commitafe50aed70e96fa943d1cec07465a408afc1e703 (patch)
tree46902d565361e49418a145fc376db3c5cae11fb0 /installer
parentc0e35832ae7bfb1e5ab64ad011542d803927e8f4 (diff)
* minor cs fixes
Diffstat (limited to 'installer')
-rw-r--r--installer/index.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/installer/index.php b/installer/index.php
index f6fa47975..4bd37f3ca 100644
--- a/installer/index.php
+++ b/installer/index.php
@@ -1,10 +1,13 @@
<?php
-
ini_set('error_reporting', E_ALL&~E_NOTICE);
ini_set('display_errors', 1);
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../').'/');
-$include_path = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR . INSTALL_PATH . 'program' . PATH_SEPARATOR . INSTALL_PATH . 'program/include' . PATH_SEPARATOR . ini_get('include_path');
+$include_path = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
+$include_path .= INSTALL_PATH . 'program' . PATH_SEPARATOR;
+$include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
+$include_path .= ini_get('include_path');
+
set_include_path($include_path);
session_start();
@@ -22,7 +25,6 @@ function __autoload($classname)
);
include_once $filename. '.php';
}
-
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">