Update site_api.py

pull/165/head
midoks 3 years ago
parent 93de3dd3ab
commit 0ecc9307f1
  1. 2
      class/core/site_api.py

@ -2026,7 +2026,7 @@ location ^~ {from} {
return 404; return 404;
} }
} }
# SECURITY-END #SECURITY-END
include %s/enable-php-''' % (fix.strip().replace(',', '|'), domains.strip().replace(',', ' '), pre_path) include %s/enable-php-''' % (fix.strip().replace(',', '|'), domains.strip().replace(',', ' '), pre_path)
conf = re.sub(re_path, rconf, conf) conf = re.sub(re_path, rconf, conf)
mw.writeLog('网站管理', '站点[' + name + ']已开启防盗链!') mw.writeLog('网站管理', '站点[' + name + ']已开启防盗链!')

Loading…
Cancel
Save