1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Issue #5443 - PHP 8.4 test fixes.

This commit is contained in:
camer0n
2025-03-17 13:44:04 -07:00
parent d58f199f28
commit 1b54602be1
17 changed files with 362 additions and 158 deletions

View File

@@ -11,7 +11,7 @@
*
*/
require_once(__DIR__ . '/../class2.php');
if(!ADMIN)
if(!deftrue('ADMIN'))
{
e107::redirect();
exit;
@@ -129,7 +129,7 @@ class docs_ui extends e_admin_ui
$text .= "
<div class='docs-item' id='{$id}' {$display}>
<h4>" . LAN_DOCS . SEP . str_replace("_", " ", $helpdata['fname']) . "</h4>
<h4>" . LAN_DOCS . defset('SEP') . str_replace("_", " ", $helpdata['fname']) . "</h4>
{$tmp}
</div>";