Changeset 168 for www/system/generate.php
- Timestamp:
- Mar 24, 2009, 1:36:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/system/generate.php
r161 r168 1 1 <?php 2 include_once('/a/www/centrala/global.php'); 2 3 include('../global.php'); 3 4 4 5 $Period = 60; // seconds … … 7 8 //echo("Generating settings...\n"); 8 9 $Now = time(); 9 $DbResult = $Database->select('services_restart', '*', '(last_time < FROM_UNIXTIME('.($Now -$Period).')) AND (changed=1)');10 $DbResult = $Database->select('services_restart', '*', '(last_time < FROM_UNIXTIME('.($Now - $Period).')) AND (changed=1)'); 10 11 while($Service = $DbResult->fetch_array()) 11 12 {
Note:
See TracChangeset
for help on using the changeset viewer.