// More example about Routes: Routes::add(array('home' => array( 'php' => array('pages/HomePage.php', 'pages/AboutPage.php' ), 'js' => array('graph' => 'js/dummy.js',), 'css' => array('graph' => 'js/dummy.css',),), 'login' => array( 'php' => 'pages/LoginPage.php',), 'error' => array( 'php' => 'pages/ErrorPage.php',), )); */ Routes::add(array('home' => array('php' => array('pages/HomePage.php')), 'intro' => array('php' => 'pages/IntroPage.php'), 'quickstart' => array('php' => 'pages/QuickstartPage.php'), 'feature' => array('php' => 'pages/FeaturePage.php'), 'license' => array('php' => 'pages/LicensePage.php'), 'download' => array('php' => 'pages/DownloadPage.php'), 'showcase' => array('php' => 'pages/ShowcasePage.php'), 'restrict' => array('php' => 'pages/RestrictPage.php'), 'login' => array('php' => 'pages/LoginPage.php'), 'error' => array('php' => 'pages/ErrorPage.php'))); /* * Cache setting */ Configure::write(array('cache_enable' => false, 'do_not_cache' => array(), 'cache_time' => 21600), 'cache'); /* * SEO setting */ Configure::write('jquery mobile, jquery mobile mvc, jquery mobile php, jquery mobile framework', 'app_keywords'); // meta keywords Configure::write('A very lightweight PHP MVC framework utilizing jQuery Mobile', 'app_description'); // meta app description Configure::write('http://tjm.tenkana.vn', 'baseurl'); // meta app canonical url /* * Authentication setting * Option 1: Set params with your table and fields which are used for validating * - Example: BasicAuth::setSource('users', 'username', 'password'); * Option 2: Set params with your fixed account * - Example: BasicAuth::setSource('NO_SQL_AUTH', 'admin', 'admin'); */ BasicAuth::setSource('NO_SQL_AUTH', 'admin', 'admin');