Renamed IndexController to HomeController to avoid errors with Apache Multiviews. Related to issue #74
This commit is contained in:
parent
19c643032e
commit
2a5262f5ed
3 changed files with 3 additions and 3 deletions
|
|
@ -12,12 +12,12 @@ namespace PHPCI\Controller;
|
|||
use b8;
|
||||
|
||||
/**
|
||||
* Index Controller - Displays the PHPCI Dashboard.
|
||||
* Home Controller - Displays the PHPCI Dashboard.
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Web
|
||||
*/
|
||||
class IndexController extends \PHPCI\Controller
|
||||
class HomeController extends \PHPCI\Controller
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
|
|
@ -38,7 +38,7 @@ require_once(APPLICATION_PATH . 'vendor/autoload.php');
|
|||
// Load configuration if present:
|
||||
$conf = array();
|
||||
$conf['b8']['app']['namespace'] = 'PHPCI';
|
||||
$conf['b8']['app']['default_controller'] = 'Index';
|
||||
$conf['b8']['app']['default_controller'] = 'Home';
|
||||
$conf['b8']['view']['path'] = dirname(__FILE__) . '/PHPCI/View/';
|
||||
|
||||
$config = new b8\Config($conf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue