Installer/Updater
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
390 B

​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('../../scripts/sys_utils.php');
  3. require_once('../../scripts/distro_web_utils.php');
  4. if( isset( $_GET['fid']) ){
  5. $FID = $_GET['fid'];
  6. $Data = list_files( '/srv/samba', '/tar.(gz|bz|bz2)$/i' );
  7. foreach( $Data as $D ) if( md5_file( '/srv/samba/'.$D ) == $FID ) @unlink( '/srv/samba/'. $D );
  8. };
  9. header( 'location: /pack_cp.php' );
  10. //print_GO_BACK();
  11. ?>