Added DB Access + Error page
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
// include Yii bootstrap file
|
||||
require_once(dirname(__FILE__).'/../../framework/yii.php');
|
||||
|
||||
// create a Web application instance and run
|
||||
Yii::createWebApplication()->run();
|
||||
@@ -0,0 +1 @@
|
||||
deny from all
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* SiteController is the default controller to handle user requests.
|
||||
*/
|
||||
class SiteController extends CController
|
||||
{
|
||||
/**
|
||||
* Index action is the default action in a controller.
|
||||
*/
|
||||
public function actionIndex()
|
||||
{
|
||||
echo 'Hello World';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user