first
This commit is contained in:
25
modules/notification/action/a.config.php
Normal file
25
modules/notification/action/a.config.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
if(!defined('__KIMS__')) exit;
|
||||
|
||||
checkAdmin(0);
|
||||
|
||||
$cut_modules = '';
|
||||
foreach($module_members as $mds)
|
||||
{
|
||||
$cut_modules .= '['.$mds.']';
|
||||
}
|
||||
|
||||
$_tmpdfile = $g['path_var'].'site/'.$r.'/'.$m.'.var.php';
|
||||
|
||||
$fp = fopen($_tmpdfile,'w');
|
||||
fwrite($fp, "<?php\n");
|
||||
fwrite($fp, "\$d['ntfc']['sec'] = \"".trim($sec)."\";\n");
|
||||
fwrite($fp, "\$d['ntfc']['num'] = \"".trim($num)."\";\n");
|
||||
fwrite($fp, "\$d['ntfc']['cut_modules'] = \"".trim($cut_modules)."\";\n");
|
||||
fwrite($fp, "?>");
|
||||
fclose($fp);
|
||||
@chmod($_tmpdfile,0707);
|
||||
|
||||
|
||||
getLink('reload','parent.','반영 되었습니다.','');
|
||||
?>
|
||||
Reference in New Issue
Block a user