CVS: phpweather/output pw_images.php,1.2,1.3 pw_text.php,1.2,1.3 pw_t...
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-03-20 19:26:54
|
Update of /cvsroot/phpweather/phpweather/output In directory usw-pr-cvs1:/tmp/cvs-serv31666/output Modified Files: pw_images.php pw_text.php pw_text_hu.php Log Message: All files now use require_once() instead of just require() - this means, that there's no need for those 'if defined('...') return ...' statements at the top of each file any more. Index: pw_images.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/output/pw_images.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- pw_images.php 18 Mar 2002 16:19:59 -0000 1.2 +++ pw_images.php 20 Mar 2002 19:26:50 -0000 1.3 @@ -1,4 +1,7 @@ <?php + +require_once(PHPWEATHER_BASE_DIR . '/base_object.php'); + /* Copyright (c) 2002 Raymond van Beek <ra...@de...>. Licensed under the GPL, see the file COPYING. Index: pw_text.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/output/pw_text.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- pw_text.php 18 Mar 2002 16:14:31 -0000 1.2 +++ pw_text.php 20 Mar 2002 19:26:50 -0000 1.3 @@ -1,5 +1,7 @@ <?php +require_once(PHPWEATHER_BASE_DIR . '/base_object.php'); + /** * Provides all the function needed to generate text output. * Index: pw_text_hu.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/output/pw_text_hu.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- pw_text_hu.php 17 Mar 2002 13:39:04 -0000 1.1 +++ pw_text_hu.php 20 Mar 2002 19:26:50 -0000 1.2 @@ -1,4 +1,5 @@ <?php + require_once(PHPWEATHER_BASE_DIR . '/output/pw_text.php'); /** |