diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-30 08:30:55 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-30 08:30:55 +0000 |
commit | 84224be7064514ab93d9fa9b641507cff23fea25 (patch) | |
tree | 15064f511152bc91c8fa15fb216211e8666b4fc3 | |
parent | 09b84bd3cea65020b021e096783780bf1e98be8c (diff) | |
download | elgg-84224be7064514ab93d9fa9b641507cff23fea25.tar.gz elgg-84224be7064514ab93d9fa9b641507cff23fea25.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Renamed limited to strict
git-svn-id: https://code.elgg.org/elgg/trunk@764 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/elgglib.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 9c287fdb7..4a6c417bd 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1050,9 +1050,9 @@ * * @param string $path The full path and filename that this function must have in its call stack * @param bool $include_subdirs Are subdirectories of the path ok, or must you specify an absolute path and filename. - * @param bool $limited_mode If true then the calling method or function must be directly called by something on $path, if false the whole call stack is searched. + * @param bool $strict_mode If true then the calling method or function must be directly called by something on $path, if false the whole call stack is searched. */ - function callpath_gatekeeper($path, $include_subdirs = true, $limited_mode = false) + function callpath_gatekeeper($path, $include_subdirs = true, $strict_mode = false) { global $CONFIG; @@ -1067,7 +1067,7 @@ if ($include_subdirs) { if (strpos($call['file'], $path) === 0) - if ($limited_mode) { + if ($strict_mode) { if ($callstack[2] === $call) return true; } else @@ -1076,7 +1076,7 @@ else { if (strcmp($path, $call['file'])==0) - if ($limited_mode) { + if ($strict_mode) { if ($callstack[2] === $call) return true; } else return true; |