perf: 增加原生缓存
This commit is contained in:
7
security.sh
Normal file
7
security.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# 执行安全脚本 sh security.sh
|
||||
base=$(dirname $(realpath ${BASH_SOURCE}))
|
||||
chown www:www $base -R
|
||||
chmod 555 $base -R
|
||||
chmod u+w ${base}"/runtime" -R
|
||||
chmod u+w ${base}"/public/upload" -R
|
||||
Reference in New Issue
Block a user