first
This commit is contained in:
16
modules/member/action/a.cover_delete.php
Normal file
16
modules/member/action/a.cover_delete.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
if(!defined('__KIMS__')) exit;
|
||||
|
||||
if (!$my['uid']) getLink('','','정상적인 접근이 아닙니다.','');
|
||||
|
||||
//원본삭제
|
||||
if (is_file($g['path_file'].'cover/'.$my['cover']))
|
||||
{
|
||||
unlink($g['path_file'].'cover/'.$my['cover']);
|
||||
}
|
||||
|
||||
getDbUpdate($table['s_mbrdata'],"cover=''",'memberuid='.$my['uid']);
|
||||
|
||||
setrawcookie('member_settings_result', rawurlencode('커버 이미지가 삭제되었습니다..|success')); // 처리여부 cookie 저장
|
||||
getLink('reload','parent.','','');
|
||||
?>
|
||||
Reference in New Issue
Block a user