From fd3eb8c3f8f1fee3337fa6e12cadc75679355fff Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sat, 22 Jun 2013 16:35:57 +0300 Subject: [PATCH] fix loadFunction (directory separator) --- ipf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipf.php b/ipf.php index 4565c8c..36d59b2 100644 --- a/ipf.php +++ b/ipf.php @@ -145,7 +145,7 @@ final class IPF $elts = explode('_', $function); array_pop($elts); - $file = strtolower(implode(DIRECTORY_SEPARATOR, $elts)).'.php'; + $file = '/' . strtolower(implode(DIRECTORY_SEPARATOR, $elts)).'.php'; @include IPF::$settings['ipf_path'] . $file; @include IPF::$settings['project_path'] . $file; if (!function_exists($function)) -- 2.49.0