if (isset($page[0])) {
global $CONFIG;
set_input('guid',$page[0]);
- @include($CONFIG->path . "entities/index.php");
+ include($CONFIG->path . "entities/index.php");
}
}
function notification_user_settings_save() {
global $CONFIG;
- @include($CONFIG->path . "actions/notifications/settings/usersettings/save.php");
+ include($CONFIG->path . "actions/notifications/settings/usersettings/save.php");
}
* Page handler for dashboard
*/
function dashboard_page_handler($page_elements) {
- @require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php");
}
/**
function users_settings_save() {
global $CONFIG;
- @include($CONFIG->path . "actions/user/name.php");
- @include($CONFIG->path . "actions/user/password.php");
- @include($CONFIG->path . "actions/email/save.php");
- @include($CONFIG->path . "actions/user/language.php");
- @include($CONFIG->path . "actions/user/default_access.php");
+ include($CONFIG->path . "actions/user/name.php");
+ include($CONFIG->path . "actions/user/password.php");
+ include($CONFIG->path . "actions/email/save.php");
+ include($CONFIG->path . "actions/user/language.php");
+ include($CONFIG->path . "actions/user/default_access.php");
}
if (sizeof($upgrades) > 0) {
foreach($upgrades as $upgrade) {
try {
- @include($CONFIG->path . 'engine/lib/upgrades/' . $upgrade);
+ include($CONFIG->path . 'engine/lib/upgrades/' . $upgrade);
} catch (Exception $e) {
error_log($e->getmessage());
}
function get_version($humanreadable = false) {
global $CONFIG;
- if (@include($CONFIG->path . "version.php")) {
+ if (include($CONFIG->path . "version.php")) {
if (!$humanreadable) return $version;
return $release;
}