mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-17 15:02:48 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
4f7f8a438c
commit
6c6eaa95d9
@ -20,7 +20,7 @@
|
||||
function sensitive_words_filter($str)
|
||||
{
|
||||
if (!$str) return '';
|
||||
$file = ROOT_PATH. 'public/static/plug/censorwords/CensorWords';
|
||||
$file = ROOT_PATH. PUBILC_PATH.'static/plug/censorwords/CensorWords';
|
||||
$words = file($file);
|
||||
foreach($words as $word)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user