mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update cli-script.php
Use DIRECTORY_SEPARATOR for cross platform
This commit is contained in:
parent
7a3fcfc839
commit
0cf6b78b0e
@ -75,7 +75,7 @@ require_once("model/DB.php");
|
|||||||
if(!isset($databaseConfig) || !isset($databaseConfig['database']) || !$databaseConfig['database']) {
|
if(!isset($databaseConfig) || !isset($databaseConfig['database']) || !$databaseConfig['database']) {
|
||||||
echo "\nPlease configure your database connection details. You can do this by creating a file
|
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";
|
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 <<<ENVCONTENT
|
echo <<<ENVCONTENT
|
||||||
|
|
||||||
Put the following content into this file:
|
Put the following content into this file:
|
||||||
|
Loading…
Reference in New Issue
Block a user