1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Frontpage admin code-cleanup

This commit is contained in:
Tijn Kuyper
2019-10-24 16:33:07 +02:00
parent 5ed9f02b92
commit ad83dea61a

View File

@@ -10,20 +10,13 @@
*
*/
/**
* 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'))
if(!getperms('G'))
{
e107::redirect('admin');
exit();
@@ -600,7 +593,7 @@ class frontpage
if($path == $multipage['page'])
{
// return $front_value['title'].":".$path;
return $front_value['title'].":".$multipage['title'];
return $front_value['title'].": ".$multipage['title'];
}
}
}