Update of /cvsroot/phpweather/phpweather
In directory sc8-pr-cvs1:/tmp/cvs-serv23796
Modified Files:
defaults-dist.php
Log Message:
I've updated the defaults to reflect the values given in
config/make_config.php. This will break existing installations where
the tables miss the 'pw_' prefix.
How should we handle this, would it be enough to simply note it in the
download instructions on SourceForge?
Index: defaults-dist.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/defaults-dist.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- defaults-dist.php 8 Sep 2003 04:20:44 -0000 1.18
+++ defaults-dist.php 8 Sep 2003 08:02:33 -0000 1.19
@@ -34,10 +34,10 @@
$this->properties['db_pconnect'] = false;
$this->properties['db_port'] = '';
-$this->properties['db_metars'] = 'metars'; /* pw_db_dba.php */
-$this->properties['db_tafs'] = 'tafs'; /* pw_db_dba.php */
-$this->properties['db_stations'] = 'stations';
-$this->properties['db_countries'] = 'countries';
+$this->properties['db_metars'] = 'pw_metars'; /* pw_db_dba.php */
+$this->properties['db_tafs'] = 'pw_tafs';
+$this->properties['db_stations'] = 'pw_stations';
+$this->properties['db_countries'] = 'pw_countries';
$this->properties['db_type'] = 'null'; /* db_layer.php */
@@ -46,7 +46,8 @@
$this->properties['mark_end'] = '</b>';
$this->properties['exclude'] = array();
-$this->properties['orientation'] = 'horizontal'; /* pw_text.php */
+// Not used at present...
+//$this->properties['orientation'] = 'horizontal'; /* pw_text.php */
$this->properties['icons_path'] = 'icons/'; /* pw_images.php */
$this->properties['reverse_dir'] = false;
|