GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

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
silmarillion (author)
Tue Aug 07 08:46:38 -0700 2007
commit  40f30e2ac7fbd097588c843f8e4bd533823bae08
tree    c81ed6cb3e8cf6c027b4bddd65560af6d3f0b0cb
parent  91dcf73009d06b0bfde815981ce58e9d560dc314
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/*