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
dittmann (author)
Tue Aug 15 18:16:14 -0700 2006
commit  c58dcdafe050095bfc4edf709de45647e5bbe903
tree    e1cec27d6cb0e64a38882f6d102618053e98b87e
parent  015490617a3c77c55cf677f9c07b136dab1e73dd
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/*