aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-08-17 18:36:24 +0200
committerfabrixxm <fabrix.xm@gmail.com>2011-08-17 18:36:24 +0200
commit07b6c868b3a66efc2737dfc6459b4114fea59ba0 (patch)
treef31a4ff5bc91d0ffd3be408af88db8287789e25f /index.php
parentbdf42473a0341f291cd256323d122aa80bb0cb0b (diff)
downloadvolse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.tar.gz
volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.tar.bz2
volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.zip
remove javascript to set selectect nav item. enanche img template prefetch ignoring
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index 80e8ca3b0..51c87cae6 100644
--- a/index.php
+++ b/index.php
@@ -195,8 +195,8 @@ if(strlen($a->module)) {
if(! $a->module_loaded) {
- // Stupid browser tried to pre-fetch our ACL img template. Don't log the event or return anything - just quietly exit.
- if((x($_SERVER,'QUERY_STRING')) && strpos($_SERVER['QUERY_STRING'],'{0}') !== false) {
+ // Stupid browser tried to pre-fetch our Javascript img template. Don't log the event or return anything - just quietly exit.
+ if((x($_SERVER,'QUERY_STRING')) && preg_match('/{[0-9]}/',$_SERVER['QUERY_STRING']) !== 0) {
killme();
}
@@ -306,7 +306,6 @@ $a->page['content'] .= '<div id="pause"></div>';
*/
if($a->module != 'install') {
- require_once('nav.php');
nav($a);
}