From 7a3fcfc83984b77ce7477581fa423904ebce3a1e Mon Sep 17 00:00:00 2001 From: Ryan Wachtl Date: Wed, 19 Jun 2013 00:52:12 -0500 Subject: [PATCH 1/2] Missing directory separators in output of suggested _ss_environment paths --- cli-script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli-script.php b/cli-script.php index 8f3f37727..2b02a693c 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 ."/_ss_environment.php\n - " . dirname(BASE_PATH) . "/_ss_environment.php\n\n"; echo << Date: Wed, 19 Jun 2013 10:12:42 -0500 Subject: [PATCH 2/2] 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 <<