Update index.py

pull/123/head
midoks 3 years ago
parent 16f01033da
commit b60e21abb3
  1. 6
      plugins/php-apt/index.py

@ -116,12 +116,8 @@ def contentReplace(content, version):
def makeOpConf(version):
sdir = mw.getServerDir()
dst_dir = sdir + '/web_conf/php'
dst_dir_conf = sdir + '/web_conf/php/conf'
if not os.path.exists(dst_dir):
mw.execShell('mkdir -p ' + dst_dir)
dst_dir_conf = sdir + '/web_conf/php/conf'
if not os.path.exists(dst_dir_conf):
mw.execShell('mkdir -p ' + dst_dir_conf)

Loading…
Cancel
Save