Просмотр файла www/adm/js/del_file.php
<?php session_start(); $cms = $_SESSION['cms_2']; if (is_file($cms.$_POST['del_file'])) { if (@unlink($cms.$_POST['del_file'])) { echo ' <script type="text/javascript"> function rel(){ parent.location.reload(); } rel(); </script> '; } else { echo ' <script type="text/javascript"> function rel(){ parent.location.reload(); } rel(); </script> '; } } ?>