corrected call to normalize_path_to_os
This commit is contained in:
@@ -77,7 +77,7 @@ include "root.php";
|
|||||||
else {
|
else {
|
||||||
$this->config_php = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/config.php";
|
$this->config_php = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/config.php";
|
||||||
}
|
}
|
||||||
$this->config_php = normalize_path_for_os($this->config_php);
|
$this->config_php = normalize_path_to_os($this->config_php);
|
||||||
}
|
}
|
||||||
|
|
||||||
function write_debug($message) {
|
function write_debug($message) {
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ include "root.php";
|
|||||||
else {
|
else {
|
||||||
$config = $_SESSION['switch']['scripts']['dir']."/resources/config.lua";
|
$config = $_SESSION['switch']['scripts']['dir']."/resources/config.lua";
|
||||||
}
|
}
|
||||||
$this->config_lua = normalize_path_for_os($this->config_lua);
|
$this->config_lua = normalize_path_to_os($this->config_lua);
|
||||||
}
|
}
|
||||||
|
|
||||||
//utility Functions
|
//utility Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user