Ticket #7817: WeatherScreen.diff
File WeatherScreen.diff, 624 bytes (added by , 14 years ago) |
---|
-
WeatherScreen.php
268 268 269 269 // Generate args and run the script 270 270 $units = $this->units == 0 ? 'SI' : 'ENG'; 271 $output_array = $this->runScript($script, '-u '. escapeshellarg($units) .' -d '. escapeshellarg(getcwd() .'/'. data ." $location"));271 $output_array = $this->runScript($script, '-u '. escapeshellarg($units) .' -d '. escapeshellarg(getcwd() .'/'. data) .' '. escapeshellarg($location)); 272 272 273 273 // Query db data items 274 274 $sh = $db->query('SELECT weatherdatalayout.dataitem