added normalize_path
This commit is contained in:
@@ -600,6 +600,12 @@
|
|||||||
}
|
}
|
||||||
//echo realpath(sys_get_temp_dir());
|
//echo realpath(sys_get_temp_dir());
|
||||||
|
|
||||||
|
if ( !function_exists('normalize_path')) {
|
||||||
|
function normalize_path($path) {
|
||||||
|
return str_replace(DIRECTORY_SEPERATOR, '\\', $path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!function_exists('username_exists')) {
|
if (!function_exists('username_exists')) {
|
||||||
function username_exists($username) {
|
function username_exists($username) {
|
||||||
global $db, $domain_uuid;
|
global $db, $domain_uuid;
|
||||||
|
|||||||
Reference in New Issue
Block a user