forked from millejano/Wee_Developertoolbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modman
17 lines (15 loc) · 1.26 KB
/
modman
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
htdocs/app/code/community/Wee/DeveloperToolbar app/code/community/Wee/DeveloperToolbar
htdocs/app/design/adminhtml/default/default/layout/wee_developertoolbar.xml app/design/adminhtml/base/default/layout/wee_developertoolbar.xml
htdocs/app/design/adminhtml/default/default/template/wee_developertoolbar app/design/adminhtml/base/default/template/wee_developertoolbar
htdocs/app/design/frontend/default/default/layout/wee_developertoolbar.xml app/design/frontend/base/default/layout/wee_developertoolbar.xml
htdocs/app/design/frontend/default/default/template/wee_developertoolbar app/design/frontend/base/default/template/wee_developertoolbar
htdocs/app/etc/modules/Wee_DeveloperToolbar.xml app/etc/modules/Wee_DeveloperToolbar.xml
htdocs/js/wee_developertoolbar js/wee_developertoolbar
htdocs/media/wee_developertoolbar media/wee_developertoolbar
# Enable the profiler in index.php
# Backup index.php to index.php.backup
@shell cp $PROJECT/index.php $PROJECT/index.php.backup && echo "Backed up index.php to index.php.backup"
# Update the code to enable the profiler
@shell sed -i 's/#Varien_Profiler::enable();/Varien_Profiler::enable();/g' $PROJECT/index.php && echo "Enabled Magento Profiler"
# Clear the cache
@shell rm -rf $PROJECT/var/cache/* && echo "Magento Cache cleared"