b72cb18c04a6f8a0ec85fba95b222f50d344db86
[mixstore.git] / resetCacheLogs.php
1 <?php
2
3 shell_exec
4 ('bash -c "
5 if [ -d app/cache ]; then
6 rm -rf app/cache/*
7 fi
8 if [ -d app/logs ]; then
9 rm -rf app/logs/*
10 fi
11 chmod 777 app/{cache,logs}
12 " ');