mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Frontpage admin code-cleanup
This commit is contained in:
@@ -10,19 +10,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* e107 Front page administration
|
||||
*
|
||||
* @package e107
|
||||
* @subpackage admin
|
||||
* @version $Id$;
|
||||
*/
|
||||
|
||||
if(!empty($_POST) && !isset($_POST['e-token']))
|
||||
{
|
||||
$_POST['e-token'] = '';
|
||||
}
|
||||
require_once ('../class2.php');
|
||||
|
||||
if(!getperms('G'))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
|
Reference in New Issue
Block a user