Skip to content

Commit

Permalink
Get CLI parameters working again. Fixes #422
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Mar 7, 2017
1 parent 0682f7a commit b85298d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down
2 changes: 1 addition & 1 deletion system/CLI/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ protected static function parseCommandLine()
*/
public static function getURI()
{
return implode(' ', static::$segments);
return implode('/', static::$segments);
}

//--------------------------------------------------------------------
Expand Down

0 comments on commit b85298d

Please sign in to comment.