1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

#5481 User Real name if available.

This commit is contained in:
camer0n
2025-04-27 06:41:18 -07:00
parent 37bec98a03
commit 6c7801e218
2 changed files with 9 additions and 5 deletions

View File

@@ -17,7 +17,11 @@
define("e_MINIMAL",true);
define('e_ADMIN_UPDATE', true); // used in class2.php
require_once (__DIR__."/../class2.php");
if (!getperms('0'))
{
e107::redirect('admin');
exit;
}
// include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
$e_sub_cat = 'database';
@@ -32,4 +36,3 @@ e107::getSession()->set('core-update-status', false); // reset update status.
require_once ("footer.php");
?>