This commit is contained in:
shim
2023-04-17 11:06:08 +09:00
parent d0b393aa97
commit 76264e09ad
4686 changed files with 552713 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
if(!defined('__KIMS__')) exit;
checkAdmin(0);
$fdset = array('noti_title','noti_body','noti_button');
$vfile = $g['path_var'].$m.'/noti/'.$type.'.php';
if (!is_dir($g['path_var'].$m.'/noti')) mkdir($g['path_var'].$m.'/noti');
$fp = fopen($vfile,'w');
fwrite($fp, "<?php\n");
foreach ($fdset as $val)
{
fwrite($fp, "\$d['bbs']['".$val."'] = \"".trim(${$val})."\";\n");
}
fwrite($fp, "?>");
fclose($fp);
@chmod($vfile,0707);
setrawcookie('msgdoc_result', rawurlencode('수정 되었습니다.|success'));
getLink('reload','parent.','','');
?>