|
@@ -108,7 +108,7 @@ class Form {
|
|
|
$file = ROOT_DIR . "/files/countries.json";
|
|
$file = ROOT_DIR . "/files/countries.json";
|
|
|
$threshold = time() - (7 * 86400);
|
|
$threshold = time() - (7 * 86400);
|
|
|
|
|
|
|
|
- if(false && file_exists($file) && filemtime($file) > $threshold) {
|
|
|
|
|
|
|
+ if(file_exists($file) && filemtime($file) > $threshold) {
|
|
|
$countries_json = @file_get_contents($file);
|
|
$countries_json = @file_get_contents($file);
|
|
|
$countries = json_decode($countries_json);
|
|
$countries = json_decode($countries_json);
|
|
|
}
|
|
}
|