lots of fixes - most recent photo updates for contacts
This commit is contained in:
parent
0bcd552231
commit
d11c1c63c0
15 changed files with 231 additions and 47 deletions
|
@ -36,6 +36,7 @@ if(strlen($a->module)) {
|
|||
$a->module_loaded = true;
|
||||
}
|
||||
else {
|
||||
header($_SERVER["SERVER_PROTOCOL"] . ' 404 ' . t('Not Found'));
|
||||
notice( t('Page not found' ) . EOL);
|
||||
}
|
||||
}
|
||||
|
@ -88,6 +89,11 @@ if(x($_SESSION,'sysmsg')) {
|
|||
unset($_SESSION['sysmsg']);
|
||||
}
|
||||
|
||||
if(stristr($_SESSION['sysmsg'], t('Permission denied'))) {
|
||||
header($_SERVER["SERVER_PROTOCOL"] . ' 403 ' . t('Permission denied.'));
|
||||
}
|
||||
|
||||
|
||||
// Feel free to comment out this line on production sites.
|
||||
$a->page['content'] .= $debug_text;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue