diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-05-16 17:44:20 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-05-16 17:44:20 +0200 |
commit | 8e3c2ebf8e9d8bf81928cf82df851de84798e7b1 (patch) | |
tree | 58e37c6389af462780750709b316373a6b949a23 /phpBB/includes/functions.php | |
parent | c6de880cdbf2f7440acb31446a9001762f9d8d16 (diff) | |
parent | 38dbfc17a782f72737451103b8e4067f152bd0b7 (diff) | |
download | forums-8e3c2ebf8e9d8bf81928cf82df851de84798e7b1.tar forums-8e3c2ebf8e9d8bf81928cf82df851de84798e7b1.tar.gz forums-8e3c2ebf8e9d8bf81928cf82df851de84798e7b1.tar.bz2 forums-8e3c2ebf8e9d8bf81928cf82df851de84798e7b1.tar.xz forums-8e3c2ebf8e9d8bf81928cf82df851de84798e7b1.zip |
Merge remote-tracking branch 'nickvergessen/ticket/11545' into develop-olympus
* nickvergessen/ticket/11545:
[ticket/11545] Remove DIRECTORY_SEPARATOR dependency from is_absolute
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4b144a20a1..b2b12c1445 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1005,7 +1005,7 @@ if (!function_exists('stripos')) */ function is_absolute($path) { - return (isset($path[0]) && $path[0] == '/' || (DIRECTORY_SEPARATOR == '\\' && preg_match('#^[a-z]:[/\\\]#i', $path))) ? true : false; + return (isset($path[0]) && $path[0] == '/' || preg_match('#^[a-z]:[/\\\]#i', $path)) ? true : false; } /** |