1
0
Fork 0

Adjust to allow for other aliased localhosts.

This commit is contained in:
Andrew Tomaka 2011-10-14 05:04:21 -04:00
parent 1b0bda4a57
commit f64e4246f6
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
// * * * * * php cronjobs/index_data.php >/dev/null 2>&1
// Collect data from various services and store locally for later display.
//***************************************************************************//
if($_SERVER['SERVER_NAME'] == 'localhost') {
if(in_array($_SERVER['SERVER_NAME'],array('localhost','a.io'))) {
$CACHE_FILE = '../data/cache.txt';
$DATA_FILE = '../data/index.txt';
} else {