mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 15:31:41 +02:00
Test admin scripts are parsing correctly.
This commit is contained in:
@@ -14,7 +14,7 @@ if(!empty($_POST) && !isset($_POST['e-token']))
|
||||
{
|
||||
$_POST['e-token'] = '';
|
||||
}
|
||||
require_once("../class2.php");
|
||||
require_once(__DIR__.'/../class2.php');
|
||||
|
||||
if (!getperms("T"))
|
||||
{
|
||||
@@ -133,7 +133,7 @@ $text = "
|
||||
<div class='buttons-bar center'>".
|
||||
$frm->admin_button('metasubmit','no-value','update', LAN_UPDATE)."
|
||||
</div>
|
||||
<input type='hidden' name='e-token' value='".e_TOKEN."' />
|
||||
<input type='hidden' name='e-token' value='".defset('e_TOKEN')."' />
|
||||
</fieldset>
|
||||
</form>
|
||||
";
|
||||
|
Reference in New Issue
Block a user