Fixed error in core.php file
Fixed error in .htaccess (rewrite)