File Editor
Directories:
.. (Back)
.qidb
.well-known
cgi-bin
wp-admin
wp-content
wp-includes
Files:
clear-cache.php
googlead56af3dabce9fca.html
index.php
license.txt
logs.txt
readme.html
wp-activate.php
wp-blog-header.php
wp-comments-post.php
wp-config-sample.php
wp-config.php
wp-cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-pattern.php
wp-settings.php
wp-signup.php
wp-sys.php
wp-trackback.php
xmlrpc.php
Create New File
Create
Edit File: clear-cache.php
<?php // Очищаем кэш function recursiveRemoveDirectory($directory) { foreach(glob("{$directory}/*") as $file) { if(is_dir($file)) { recursiveRemoveDirectory($file); } else { unlink($file); } } if (is_dir($directory)) { rmdir($directory); } } // Путь к папке кэша $cache_dir = './wp-content/cache/et/'; if(is_dir($cache_dir)) { recursiveRemoveDirectory($cache_dir); echo "Cache cleared successfully"; } else { echo "Cache directory not found"; } ?>
Save Changes
Rename File
Rename