diff options
Diffstat (limited to 'installer/index.php')
-rw-r--r-- | installer/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/index.php b/installer/index.php index 6b1d434b..317f27b8 100644 --- a/installer/index.php +++ b/installer/index.php @@ -27,7 +27,7 @@ if (version_compare(PHP_VERSION, "5.2.3", "<")) { } require(DOCROOT . "installer/installer.php"); -if (php_sapi_name() == "cli") { +if (PHP_SAPI == "cli") { include("cli.php"); } else { if (@$_GET["page"] == "check") { |