Merge pull request #1 from NiceBro/master

bug fixes
Update index.php
Update config.sample.php
Update config.sample.php
Update index.php
Update index.php