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)
Thu Aug 17 18:34:58 -0700 2006
commit  9b37c3f62a4515885702fd5f90a3c729ff5fcebe
tree    9cc1622c06185a91c325088c48bcf3bb1f0b5c1c
parent  66a810b3979a349dc755c269b570f3258c964141
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/*