Skip to content

Commit 9864416

Browse files
committed
Fixed missing $ds var in some config files.
1 parent 7f77dd0 commit 9864416

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runway

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ $config = [];
111111

112112
// Pull from config.php file
113113
if (file_exists($appConfigPath) === true) {
114+
115+
// Compensate for the lack of the $ds variable in some config files.
116+
$ds = DIRECTORY_SEPARATOR;
117+
114118
// Prefer PHP app config for reads/writes
115119
$config = require $appConfigPath;
116120
$configDirectory = dirname($appConfigPath);

0 commit comments

Comments
 (0)