1
0
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:
Cameron
2021-01-16 13:32:35 -08:00
parent 692b8c8538
commit 04bbad449a
59 changed files with 709 additions and 4374 deletions

View File

@@ -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>
";