diff options
author | Friendika <info@friendika.com> | 2010-12-16 20:12:23 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-16 20:12:23 -0800 |
commit | d1261e50c6a804d329b674dfba66574419c5f6c5 (patch) | |
tree | c92b91abd9e84d32bcfebda77529b68887b16c9b | |
parent | 70f4f172dc1785f9a68b5f0dafbfb4cc365a449f (diff) | |
download | volse-hubzilla-d1261e50c6a804d329b674dfba66574419c5f6c5.tar.gz volse-hubzilla-d1261e50c6a804d329b674dfba66574419c5f6c5.tar.bz2 volse-hubzilla-d1261e50c6a804d329b674dfba66574419c5f6c5.zip |
don't ask
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -131,6 +131,11 @@ if(strlen($a->module)) { $a->module_loaded = true; } else { + if((x($_SERVER,'QUERY_STRING')) && ($_SERVER['QUERY_STRING'] === 'q=internal_error.html') && isset($dreamhost_error_hack)) { + logger('index.php: dreamhost_error_hack invoked'); + goaway($a->get_baseurl() . $_SERVER['REQUEST_URI']); + } + logger('index.php: page not found: ' . $_SERVER['REQUEST_URI'] . ' QUERY: ' . $_SERVER['QUERY_STRING'], LOGGER_DEBUG); header($_SERVER["SERVER_PROTOCOL"] . ' 404 ' . t('Not Found')); notice( t('Page not found.' ) . EOL); |