img/interface

phpNuke integration forum

img/interface

Postby cgarlick » Sat Jul 15, 2006 1:26 am

Hey I am working a getting the phpnuke port working.

Anybody know where the setting is for the images directory?

I need to make it "Roster" insted of "roster".

I am looking through the code now but this would speed it up.
cgarlick
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Sat Jul 08, 2006 9:00 pm

Re: img/interface

Postby Rahtak » Sat Jul 15, 2006 1:36 am

you could probably make use the the $roster_dir defined in the conf.php file.


make sure it'S set correctly in the conf.php file

Code: Select all
$module_name = basename(dirname(__FILE__));
$roster_dir = "modules/".$module_name;


personaly i think we should never have hard coded link in the code ie: modules/roster as this $roster_dir give your the right path even if you install roster in a different name folder.
Rahtak
WR.net Journeyman
WR.net Journeyman
 
Posts: 78
Joined: Fri Jul 14, 2006 11:54 am

Re: img/interface

Postby cgarlick » Sat Jul 15, 2006 2:02 am

I think the value I am looking for is $img_url
cgarlick
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Sat Jul 08, 2006 9:00 pm


Return to phpNuke

Who is online

Users browsing this forum: No registered users and 1 guest

cron