__init.php 190 Bytes Raw Blame History Permalink 1 2 3 4 5 6 <?php $dis = Yaf_Dispatcher::getInstance(); $routes = new Yaf_Config_Ini(__DIR__ . "/configs/routes.ini"); if (!empty($routes->routes)) { $dis->getRouter()->addConfig($routes->routes); }