|
@@ -437,8 +437,11 @@ function exec_ogp_module()
|
|
|
if(!isset($contents) || empty($contents) || filesize($used_file) == 0 || filesize($used_file) == 1){
|
|
if(!isset($contents) || empty($contents) || filesize($used_file) == 0 || filesize($used_file) == 1){
|
|
|
$used_file = $REMOTE_REPO_FILE;
|
|
$used_file = $REMOTE_REPO_FILE;
|
|
|
$contents = file_get_contents($used_file);
|
|
$contents = file_get_contents($used_file);
|
|
|
- if(file_put_contents($LOCAL_REPO_FILE, $contents))
|
|
|
|
|
- touch($LOCAL_REPO_FILE);
|
|
|
|
|
|
|
+ if(strtolower($contents) != "not found"){
|
|
|
|
|
+ if(file_put_contents($LOCAL_REPO_FILE, $contents)){
|
|
|
|
|
+ touch($LOCAL_REPO_FILE);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|