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
calguy1000 (author)
Mon Jul 30 10:56:04 -0700 2007
commit  f38dc85afb1043a95401e848d000073f200db51b
tree    4450cfd86177a932629afca043785a1f3db2755b
parent  5dea478a20c55070b453978e862bcad2f5f05cf4
cmsmadesimple-2-0 / cleardb.sh
100755 9 lines (7 sloc) 0.189 kb
1
2
3
4
5
6
7
8
9
#!/bin/sh
 
echo "drop database cms; create database cms;" | mysql -u cms_user -pcms_pass cms
rm config.php
touch config.php
chmod 777 config.php
rm -fr tmp/templates_c/*
rm -fr tmp/cache/*