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  dc5c52787587f24c177e99e213f8d29df811e494
tree    ff5d261a6281962d2920bfa744071d6e27719813
parent  bbf24b01d73b30bcd1490f7c2d82de00b6a0497b
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/*