public function getDefaultMethod() { $method = \myFrame\App::getInstance()->getConfig()->app['default_method']; if ($method) { return strtolower($method); } return 'index'; }
<?php error_reporting(E_ALL ^ E_NOTICE); include '../../myFrame/App.php'; $app = \myFrame\App::getInstance(); $app->setRouter('RPCRouter'); $app->run();