Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Project: index.php Switcher for Demo and Construction Site Conversion
- # Version: 1.0
- # Date: March 14, 2015
- # Author: Created by Kevin Remisoski
- # Contact: kevin@remytek.com
- # Site: www.remytek.com
- if [ -s ./index.php.tmp ]
- then
- echo "Construction Site Online / Project Site Offline"
- mv index.php index.php.current
- mv index.php.tmp index.php
- else
- echo "Construction Site Offline / Project Site Online"
- mv index.php index.php.tmp
- mv index.php.current index.php
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement