comparison cancelReservation.php @ 143:42f6eb738567

mod: ÀѤ߻Ĥ·¤ò½¤Àµ
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 21 Mar 2010 21:54:03 +0900
parents e5f9aa34d06f
children 84220382fea8
comparison
equal deleted inserted replaced
142:481e789605e3 143:42f6eb738567
21 if( isset( $_GET['delete_file'] ) ) { 21 if( isset( $_GET['delete_file'] ) ) {
22 if( $_GET['delete_file'] == 1 ) { 22 if( $_GET['delete_file'] == 1 ) {
23 // ファイルを削除 23 // ファイルを削除
24 if( file_exists( INSTALL_PATH."/".$settings->spool."/".$rec->path ) ) { 24 if( file_exists( INSTALL_PATH."/".$settings->spool."/".$rec->path ) ) {
25 @unlink(INSTALL_PATH."/".$settings->spool."/".$rec->path); 25 @unlink(INSTALL_PATH."/".$settings->spool."/".$rec->path);
26 @unlink(INSTALL_PATH."/".$settings->thumbs."/".$rec->path.".jpg");
26 } 27 }
27 } 28 }
28 } 29 }
29 } 30 }
30 catch( Exception $e ) { 31 catch( Exception $e ) {