projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #502: aka <=> alias
[platal.git]
/
modules
/
core.php
diff --git
a/modules/core.php
b/modules/core.php
index
820fb60
..
787e236
100644
(file)
--- a/
modules/core.php
+++ b/
modules/core.php
@@
-42,14
+42,12
@@
class CoreModule extends PLModule
{
header('HTTP/1.0 403 Forbidden');
$page->changeTpl('403.tpl');
{
header('HTTP/1.0 403 Forbidden');
$page->changeTpl('403.tpl');
- return PL_OK;
}
function handler_404(&$page)
{
header('HTTP/1.0 404 Not Found');
$page->changeTpl('404.tpl');
}
function handler_404(&$page)
{
header('HTTP/1.0 404 Not Found');
$page->changeTpl('404.tpl');
- return PL_OK;
}
function handler_purge_cache(&$page)
}
function handler_purge_cache(&$page)
@@
-59,7
+57,7
@@
class CoreModule extends PLModule
$page->clear_compiled_tpl();
wiki_clear_all_cache();
$page->clear_compiled_tpl();
wiki_clear_all_cache();
- redirect(empty($_SERVER['HTTP_REFERER']) ? './' : $_SERVER['HTTP_REFERER']);
+
http_
redirect(empty($_SERVER['HTTP_REFERER']) ? './' : $_SERVER['HTTP_REFERER']);
}
}
}
}