Просмотр исходного кода

#35
- adding "storage" folder to writable directories list
- automatic permissions changing in phing "deploy" target

Alex Trofimov 12 лет назад
Родитель
Сommit
2d16cc06bb
2 измененных файлов с 6 добавлено и 0 удалено
  1. 5 0
      build.xml
  2. 1 0
      studio/classes/BxDolStudioTools.php

+ 5 - 0
build.xml

@@ -126,6 +126,11 @@
             <fileset refid="files_dist" />
         </copy>
 
+        <chmod file="${deploy_path}/cache" mode="0777" />
+        <chmod file="${deploy_path}/cache_public" mode="0777" />
+        <chmod file="${deploy_path}/tmp" mode="0777" />
+        <chmod file="${deploy_path}/storage" mode="0777" />
+
         <phingcall target="install">
             <property name="install_base_dir" value="${deploy_path}" />
         </phingcall>

+ 1 - 0
studio/classes/BxDolStudioTools.php

@@ -33,6 +33,7 @@ class BxDolStudioTools extends BxDolIO
             'cache',
             'cache_public',
             'tmp',
+            'storage',
 //            'plugins/ffmpeg/ffmpeg.exe',
         );