projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lighter query to get the number of events displaid on every single page of
[platal.git]
/
classes
/
platal.php
diff --git
a/classes/platal.php
b/classes/platal.php
index
24a0066
..
7524b21
100644
(file)
--- a/
classes/platal.php
+++ b/
classes/platal.php
@@
-51,6
+51,11
@@
class Platal
$this->__mods[$module] = $m = PLModule::factory($module);
$this->__hooks += $m->handlers();
}
+
+ global $globals;
+ if ($globals->mode == '') {
+ pl_redirect('index.html');
+ }
}
public function pl_self($n = null)