Current File : /home/inlingua/public_html/dwarka/icentex/evaluation/index.php
<?php

 include_once("include/config/config.php");
 include_functions(array('url'));
 if($_SERVER['REQUEST_URI']=='/index.php'):
?>
 <script type="text/javascript">
  window.location.href="<?=HTTP_SERVER?>
 </script>
<?php 
 endif;
?>   
<?php
  $page = isset($_REQUEST['page']) ? $_REQUEST['page']:"home";
 
 if(file_exists(DIR_FS_SITE_PHP."$page.php"))
  require_once(DIR_FS_SITE_PHP."$page.php");
   
 if(file_exists(DIR_FS_SITE_HTML."$page.php"))
  require_once(DIR_FS_SITE_HTML."$page.php");
 else 
  require_once(DIR_FS_SITE_HTML."page-not-found.php");
?>