diff --git a/_config.php b/_config.php index 194bd41..2584f47 100644 --- a/_config.php +++ b/_config.php @@ -17,4 +17,7 @@ $DBYFEROLES = $configJson['dbyferoles']; //上线 $SXYYEROLES = $configJson['sxyyeroles']; $SXAROLES = $configJson['sxaroles']; +// 延期编辑 +$YQEROLES = $configJson['yqeroles']; + ?> \ No newline at end of file diff --git a/edit.php b/edit.php index a88344b..c1d2458 100644 --- a/edit.php +++ b/edit.php @@ -131,6 +131,15 @@ if(!isn(r('sxaroles'))){ file_put_contents("config.json",json_encode($configJson)); echo ""; } +//***********************************延期评论*************************************************** +if(!isn(r('myqeroles'))){ + $roles = trim(_r("yqeroles")); + $roles = str_replace("\r","",$roles); + $arr = explode("\n",$roles); + $configJson['yqeroles'] = $arr; + file_put_contents("config.json",json_encode($configJson)); + echo ""; +} //require_once(ROOT.'./_config.php'); ?> @@ -290,6 +299,17 @@ if(!isn(r('sxaroles'))){
+ +