aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-05-16 17:44:20 +0200
committerAndreas Fischer <bantu@phpbb.com>2013-05-16 17:44:20 +0200
commit8e3c2ebf8e9d8bf81928cf82df851de84798e7b1 (patch)
tree58e37c6389af462780750709b316373a6b949a23 /phpBB/includes/functions.php
parentc6de880cdbf2f7440acb31446a9001762f9d8d16 (diff)
parent38dbfc17a782f72737451103b8e4067f152bd0b7 (diff)
downloadforums-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.php2
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;
}
/**