From /config.php (overall phpNuke config file)
Code: ›
# $admin_file: Administration panel filename. "admin" by default for
# "admin.php". To improve security please rename the file
# "admin.php" and change the $admin_file value to the
....
$admin_file = "new_name";
So I changed my admin.php file to a new name.
But then all the links on gallery2 Integration wont work. And it even stops my renamed admin.php page loading up.
so with a bit of looking i worked it out.
so can i suggest adding the folllowing lines into each of /modules/gallery2/admin/index.php, case.php & links.php
at the top of each file
Code: › global $admin_file;
and everywere Code: › "admin.php
comes up, replace with
Code: › "".$admin_file.".php
and then it will work for everyone who renamed there admin file.
Thanks
Dave