Diff for phpPlatonLib/Platon/Platon.php between version 1.35 and 1.36
| version 1.35, 2006/07/08 19:13:03 |
version 1.36, 2006/07/08 19:57:04 |
|
|
| */ |
*/ |
| function redirect_test($file, $url) /* {{{ */ |
function redirect_test($file, $url) /* {{{ */ |
| { |
{ |
| |
if (is_array($file)) { |
| |
foreach ($file as $one_file) { |
| |
Platon::redirect_test($one_file, $url); |
| |
} |
| |
return true; |
| |
} |
| if (! isset($_SERVER['PHP_SELF']) |
if (! isset($_SERVER['PHP_SELF']) |
| || ! eregi($file, $_SERVER['PHP_SELF'])) { |
|| ! eregi($file, $_SERVER['PHP_SELF'])) { |
| return true; |
return true; |
Platon Group <platon@platon.org> http://platon.org/
|
|