public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
commit  d5e8a94caf620ce6c3d86ef88e40b47c502ca5a5
tree    2c7f65c765bbd438b4eed235e9a1b765038b48bb
parent  fb6d3e205fb51b37f67afd598e7f8dda4fb27c65
cmsmadesimple-2-0 / cleardb.sh
100755 9 lines (7 sloc) 0.177 kb
1
2
3
4
5
6
7
8
9
#!/bin/sh
 
echo "drop database cms3; create database cms3;" | mysql -u root cms3
rm config.php
touch config.php
chmod 777 config.php
rm -fr tmp/templates_c/*
rm -fr tmp/cache/*