by yanniboi: Added the path.php file to get path from server.
by yanniboi: Moved index.php to root directory and updated .htacces file.