aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-05-17 12:22:27 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-05-17 12:22:27 +0200
commit30e0b694e606792c772de553ba708d4cc409b416 (patch)
tree6d9bc66564aac9af9f075d1f31fafb8cb3011fff /phpBB/includes/functions.php
parent1715619fda2aebd7ebae960e5fcbdf4b24ce4dca (diff)
parent37a334c187e382fcbaee717bc3df91ef9ce82e10 (diff)
downloadforums-30e0b694e606792c772de553ba708d4cc409b416.tar
forums-30e0b694e606792c772de553ba708d4cc409b416.tar.gz
forums-30e0b694e606792c772de553ba708d4cc409b416.tar.bz2
forums-30e0b694e606792c772de553ba708d4cc409b416.tar.xz
forums-30e0b694e606792c772de553ba708d4cc409b416.zip
Merge branch 'develop-olympus' of https://github.com/phpbb/phpbb3 into ticket/11538
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 cf676a3351..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 ($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;
}
/**