Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv31644

Modified Files:
        base_object.php 
Log Message:
Now it only included 'defaults-dist.php' once.


Index: base_object.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/base_object.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- base_object.php     2001/04/26 13:11:00     1.5
+++ base_object.php     2001/05/19 16:16:24     1.6
@@ -31,7 +31,7 @@
     include(PHPWEATHER_BASE_DIR . '/defaults-dist.php');
 
     if(file_exists(PHPWEATHER_BASE_DIR . '/defaults.php')) {
-      include(PHPWEATHER_BASE_DIR . '/defaults.php');
+      include_once(PHPWEATHER_BASE_DIR . '/defaults.php');
     }
 
     /* Then we override the defaults with the actual properties */


_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins

Reply via email to