Mercurial > epgrec.yaz
comparison cancelReservation.php @ 146:4afd353b4507
merged with upstream
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 23 Mar 2010 02:37:31 +0900 |
parents | 42f6eb738567 |
children | 84220382fea8 |
comparison
equal
deleted
inserted
replaced
141:d1681f891462 | 146:4afd353b4507 |
---|---|
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 ) { |