1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +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

@@ -9,7 +9,7 @@
* Administration - Site Maintenance
*
*/
require_once ('../class2.php');
require_once (__DIR__.'/../class2.php');
if(!getperms('9'))
{
@@ -106,16 +106,17 @@ $text .= "
";
//Ajax Support
if(!e_AJAX_REQUEST)
if(e_AJAX_REQUEST)
{
echo "<div id='ajax-container'>\n";
$ns->tablerender(UGFLAN_4, $mes->render().$text, 'core-ugflag');
echo "\n</div>";
require_once (e_ADMIN."footer.php");
exit();
exit;
}
echo "<div id='ajax-container'>\n";
$ns->tablerender(UGFLAN_4, $mes->render().$text, 'core-ugflag');
echo "\n</div>";
require_once (e_ADMIN."footer.php");
/**
* Handle page DOM within the page header