aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-07-24 13:37:46 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-07-24 13:37:46 -0400
commite116561348b7bd3400bfe6acccf5eebaaaa7f562 (patch)
treea42f4d5f04823a5bf44556699dd9259e1e443de3 /phpBB/includes/functions.php
parentee203b46328f3a0e1297197e50b30487d1eab248 (diff)
downloadforums-e116561348b7bd3400bfe6acccf5eebaaaa7f562.tar
forums-e116561348b7bd3400bfe6acccf5eebaaaa7f562.tar.gz
forums-e116561348b7bd3400bfe6acccf5eebaaaa7f562.tar.bz2
forums-e116561348b7bd3400bfe6acccf5eebaaaa7f562.tar.xz
forums-e116561348b7bd3400bfe6acccf5eebaaaa7f562.zip
[feature/template-engine] Rename is_absolute to phpbb_is_absolute.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 86c6bc2505..e4727b9705 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -752,7 +752,7 @@ function phpbb_is_writable($file)
* @param string $path Path to check absoluteness of
* @return boolean
*/
-function is_absolute($path)
+function phpbb_is_absolute($path)
{
return ($path[0] == '/' || (DIRECTORY_SEPARATOR == '\\' && preg_match('#^[a-z]:[/\\\]#i', $path))) ? true : false;
}
@@ -772,7 +772,7 @@ function phpbb_own_realpath($path)
$path_prefix = '';
// Determine what sort of path we have
- if (is_absolute($path))
+ if (phpbb_is_absolute($path))
{
$absolute = true;