Last active
August 29, 2015 14:24
-
-
Save codesprint/bcdea70bdb9078cee321 to your computer and use it in GitHub Desktop.
Magento: deactivate Compiler via Shell
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 -f compiler.php clear | |
php -f compiler.php disable | |
php -f compiler.php compile | |
php -f compiler.php enable |
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 | |
#define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’); | |
#define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’); | |
?> |
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 | |
echo exec('./shell/php -f compiler.php clear'); | |
echo exec('./shell/php -f compiler.php disable'); | |
#echo exec('./shell/php -f compiler.php compile'); | |
#echo exec('./shell/php -f compiler.php enable'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment