- Timestamp:
- Aug 19, 2009, 9:06:06 AM (15 years ago)
- Location:
- trunk/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/config.sample.php
r624 r627 60 60 'ShowSQLQuery' => false, 61 61 'ShowPHPError' => false, 62 'OS' => 'GNU/Linux',63 62 'ServerFounded' => '1.1.2000', 64 'CPU' => 'AMD Athlon 64 X2 5600+, 2,8 GHz',65 'Memory' => '8 GB DDR2 800 MHz dual channel',66 'HDD' => 'WD Green 1 TB, 32 MB cache',67 'Internet' => '16/16 Mbit/s, agregace 1:32',68 63 'BankAccount' => '670100-2202937132/6210', 64 'ServerList' => array( 65 array( 66 'OS' => 'GNU/Linux', 67 'CPU' => 'AMD Athlon 64 X2 5600+, 2,8 GHz', 68 'Memory' => '8 GB DDR2 800 MHz dual channel', 69 'HDD' => 'WD Green 1 TB, 32 MB cache', 70 'Address' => 'localhost', 71 'Internet' => '16/16 Mbit/s, agregace 1:32', 72 'Realms' => array(1), 73 'Statistic' => 'http://localhost/stat/', 74 }, 75 }, 69 76 ), 70 77 'CheckRegistration' => array -
trunk/inc/server.php
r625 r627 19 19 $date_arr = explode(' ', $date); 20 20 $date = explode('-', $date_arr[0]); 21 $time_stp = explode(':', $date_arr[1]); 21 if(count($date_arr) > 1) $time_stp = explode(':', $date_arr[1]); 22 else $time_stp = array(0, 0, 0); 22 23 $time = mktime($time_stp[0], $time_stp[1], $time_stp[2], $date[1], $date[2], $date[0]); 23 24 if($time == 1) $human_date = date('d.m.Y H:i:s', $time);
Note:
See TracChangeset
for help on using the changeset viewer.