diff --git a/ci.php b/ci.php index 33d05adfd6de..fdff9d47d31e 100755 --- a/ci.php +++ b/ci.php @@ -15,7 +15,7 @@ // Location to the Paths config file. $pathsPath = 'application/Config/Paths.php'; -// Path to the front controller (this file) +// Path to the front controller define('FCPATH', './public/'.DIRECTORY_SEPARATOR); /* diff --git a/system/CLI/CLI.php b/system/CLI/CLI.php index 6773636afb12..883fd0d2068e 100644 --- a/system/CLI/CLI.php +++ b/system/CLI/CLI.php @@ -672,7 +672,7 @@ protected static function parseCommandLine() */ public static function getURI() { - return implode(' ', static::$segments); + return implode('/', static::$segments); } //--------------------------------------------------------------------