From 0cf6b78b0e3f39dbb5f7cdbd667a264fee7773db Mon Sep 17 00:00:00 2001 From: Ryan Wachtl Date: Wed, 19 Jun 2013 10:12:42 -0500 Subject: [PATCH] Update cli-script.php Use DIRECTORY_SEPARATOR for cross platform --- cli-script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli-script.php b/cli-script.php index 2b02a693c..2978868fe 100755 --- a/cli-script.php +++ b/cli-script.php @@ -75,7 +75,7 @@ require_once("model/DB.php"); if(!isset($databaseConfig) || !isset($databaseConfig['database']) || !$databaseConfig['database']) { echo "\nPlease configure your database connection details. You can do this by creating a file called _ss_environment.php in either of the following locations:\n\n"; - echo " - " . BASE_PATH ."/_ss_environment.php\n - " . dirname(BASE_PATH) . "/_ss_environment.php\n\n"; + echo " - " . BASE_PATH . DIRECTORY_SEPARATOR . "_ss_environment.php\n - " . dirname(BASE_PATH) . DIRECTORY_SEPARATOR . "_ss_environment.php\n\n"; echo <<