|
|
@@ -217,12 +217,9 @@
|
|
|
<fileset refid="files_dist" />
|
|
|
</copy>
|
|
|
|
|
|
- <chmod file="${deploy_path}/cache" mode="0777" verbose="true" />
|
|
|
- <chmod file="${deploy_path}/cache_public" mode="0777" verbose="true" />
|
|
|
- <chmod file="${deploy_path}/logs" mode="0777" verbose="true" />
|
|
|
- <chmod file="${deploy_path}/tmp" mode="0777" verbose="true" />
|
|
|
- <chmod file="${deploy_path}/storage" mode="0777" verbose="true" />
|
|
|
- <chmod file="${deploy_path}/plugins/ffmpeg/ffmpeg.exe" mode="0777" verbose="true" />
|
|
|
+ <phingcall target="change_permissions">
|
|
|
+ <property name="files_path" value="${deploy_path}" />
|
|
|
+ </phingcall>
|
|
|
|
|
|
<phingcall target="install">
|
|
|
<property name="install_base_dir" value="${deploy_path}" />
|
|
|
@@ -232,6 +229,21 @@
|
|
|
|
|
|
</target>
|
|
|
|
|
|
+ <!-- ============================================ -->
|
|
|
+ <!-- Target: change permissions -->
|
|
|
+ <!-- ============================================ -->
|
|
|
+ <target name="change_permissions">
|
|
|
+ <property name="files_path" value="${project.basedir}" override="yes" />
|
|
|
+ <echo msg="Change permissions in '${files_path}' folder..." />
|
|
|
+
|
|
|
+ <chmod file="${files_path}/cache" mode="0777" />
|
|
|
+ <chmod file="${files_path}/cache_public" mode="0777" />
|
|
|
+ <chmod file="${files_path}/logs" mode="0777" />
|
|
|
+ <chmod file="${files_path}/tmp" mode="0777" />
|
|
|
+ <chmod file="${files_path}/storage" mode="0777" />
|
|
|
+ <chmod file="${files_path}/plugins/ffmpeg/ffmpeg.exe" mode="0755" />
|
|
|
+ </target>
|
|
|
+
|
|
|
<!-- ============================================ -->
|
|
|
<!-- Target: clean -->
|
|
|
<!-- ============================================ -->
|