diff --git a/config/bootstrap.php b/config/bootstrap.php index 5a456b550..50811ea24 100644 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -48,13 +48,5 @@ * Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array())); * */ - App::build( - array( - 'plugins' => array( - dirname( dirname( __FILE__ ) ).DS.'core' - ) - ) - ); - - -?> \ No newline at end of file + App::build( array( 'plugins' => array( dirname( dirname( __FILE__ ) ).DS.'core'.DS ) ) ); +?> diff --git a/config/routes.php b/config/routes.php index 73ef9cdb5..b40b6f16b 100644 --- a/config/routes.php +++ b/config/routes.php @@ -45,5 +45,6 @@ * cms routes */ Router::connect('/admin/cms', array( 'plugin' => 'cms', 'controller' => 'categories', 'action' => 'dashboard', 'prefix' => 'admin', 'admin' => true ) ); + //Router::connect('/admin/cms/:controller/:action/*', array( 'plugin' => 'cms', 'admin' => true ) ); Router::connect('/cms', array( 'plugin' => 'cms', 'controller' => 'contentFrontpages' ) ); ?> \ No newline at end of file