Alternatively, just change all occurences of $admin_file to "admin" (removing string concatenation operators and fixing double-quotes as necessary) in that file. None of the other links.* files in 7.5 and below use the $admin_file variable; they all hardcode admin.php as the admin file. But if you upgrade PHP-Nuke past 7.5, it might break again. So using the '!isset' construct is probably safest.
I think the use of $admin_file comes from PHP-Nuke 7.6 and above, so in 7.5 it's not defined at the time the links files are processed.
- Leo
Plasma Lieutenant
Joined: Jan 02, 2004
Posts: 261
Posted:
Tue May 17, 2005 11:44 am
i have phpnuke 7.5 patched and i can't get the admin to work, nor do i completely understand what was posted here. can someone please explain it a little better?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum