Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
myhelipad
Regular
Regular



Joined: Apr 17, 2004
Posts: 71

PostPosted: Tue Sep 29, 2009 3:55 am Reply with quote

Hi;

Where do i put

Code:
@require_once(INCLUDE_PATH."includes/nukeweather.php");


for NukeWeather(tm) 3.1.05 add on mainfile.php


thank you.
 
View user's profile Send private message Visit poster's website
wHiTeHaT
Life Cycles Becoming CPU Cycles



Joined: Jul 18, 2004
Posts: 579

PostPosted: Tue Sep 29, 2009 5:09 am Reply with quote

Maby in:
includes/custom_files/custom_mainfile.php
 
View user's profile Send private message Send e-mail
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Sep 29, 2009 5:21 am Reply with quote

wHiTeHaT wrote:
Maby in:
includes/custom_files/custom_mainfile.php


I would definitely suggest this because it will make upgrading much easier. Note you will probably need to create the file

Code:


<?PHP
require_once INCLUDE_PATH . 'includes/nukeweather.php';
?>

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
myhelipad







PostPosted: Wed Sep 30, 2009 9:31 pm Reply with quote

Palbin wrote:
wHiTeHaT wrote:
Maby in:
includes/custom_files/custom_mainfile.php


I would definitely suggest this because it will make upgrading much easier. Note you will probably need to create the file

Code:


<?PHP
require_once INCLUDE_PATH . 'includes/nukeweather.php';
?>


Sorry for delay, problem with my broadband. just want to confirm I create a directory

Quote:
includes/ NukeWeather/nu_mainfile.php


and in nu_mainfile.php add with

Code:
<?PHP

require_once INCLUDE_PATH . 'includes/nukeweather.php';
?>


pls correct me if wrong.

Regards
 
vanquish
Hangin' Around



Joined: Jan 01, 2007
Posts: 30

PostPosted: Wed Sep 30, 2009 9:40 pm Reply with quote

No. You make this file includes/custom_files/custom_mainfile.php and then you should not have to do any edits to mainfile.php.
 
View user's profile Send private message
myhelipad







PostPosted: Wed Sep 30, 2009 9:57 pm Reply with quote

vanquish wrote:
No. You make this file includes/custom_files/custom_mainfile.php and then you should not have to do any edits to mainfile.php.


ok thank you very much i'll do that.

regards
 
myhelipad







PostPosted: Wed Sep 30, 2009 10:06 pm Reply with quote

Thank you very much to all of you, now running as what i wanted too.

regards
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©