PHP_SELF 를 SCRIPT_NAME 으로 변경

This commit is contained in:
chicpro
2015-06-24 17:26:46 +09:00
parent 9b4431fbb4
commit 705a2ea947
45 changed files with 75 additions and 75 deletions

View File

@ -17,7 +17,7 @@ if($tno) {
}
$content .= '<p>오류내용</p>';
$content .= '<p>'.$sql.'</p><p>'.mysql_errno().' : '.mysql_error().'<p>error file : '.$_SERVER['PHP_SELF'].'</p>';
$content .= '<p>'.$sql.'</p><p>'.mysql_errno().' : '.mysql_error().'<p>error file : '.$_SERVER['SCRIPT_NAME'].'</p>';
// 메일발송
mailer($od_name, $od_email, $config['cf_admin_email'], $subject, $content, 1);