resetCacheLogs now bash script. Fix typo
[mixstore.git] / resetCacheLogs.php
diff --git a/resetCacheLogs.php b/resetCacheLogs.php
deleted file mode 100644 (file)
index b72cb18..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-shell_exec
-('bash -c "
-    if [ -d app/cache ]; then
-        rm -rf app/cache/*
-    fi
-    if [ -d app/logs ]; then
-        rm -rf app/logs/*
-    fi
-    chmod 777 app/{cache,logs}
-" ');