Created
November 27, 2011 14:21
-
-
Save ganoro/1397617 to your computer and use it in GitHub Desktop.
deployment post_stage hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* @var string holds the application (absolute) path */ | |
$appLocation = getenv('ZS_APPLICATION_BASE_DIR'); | |
/* chmod cache and logs */ | |
chmod ( $appLocation, 0775 ); | |
chmod ( $appLocation . '/app/', 0775 ); | |
chmod ( $appLocation . '/app/cache/', 0775 ); | |
chmod ( $appLocation . '/app/logs/', 0775 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment