Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

admin.php link change, suggested fix

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
davepc

Beginner
Beginner


Joined: Jul 04, 2005
Posts: 10

PostPosted: Tue Jul 19, 2005 9:17 am    Post subject: admin.php link change, suggested fix Reply with quote

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
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: admin.php link change, suggested fix  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue Jul 19, 2005 4:51 pm    Post subject: Re: admin.php link change, suggested fix Reply with quote

ah, great, thanks. i'll fix that in CVS ASAP.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue Jul 19, 2005 5:13 pm    Post subject: Re: admin.php link change, suggested fix Reply with quote

the update is now committed in CVS. it should be available via anonymous CVS in 3 or 4 hours, or via http://galleryupdates.jpmullan.com/ later tonight.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia