Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
c6480c64
Commit
c6480c64
authored
May 25, 2013
by
resurtm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test app fixed.
parent
f1cfabbf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
SiteController.php
apps/bootstrap/controllers/SiteController.php
+0
-4
index.php
apps/bootstrap/www/index.php
+2
-3
No files found.
apps/bootstrap/controllers/SiteController.php
View file @
c6480c64
...
@@ -20,10 +20,6 @@ class SiteController extends Controller
...
@@ -20,10 +20,6 @@ class SiteController extends Controller
public
function
actionIndex
()
public
function
actionIndex
()
{
{
// $x = null;
// $x->y = 100;
throw
new
\yii\base\HttpException
(
500
,
'Test exception'
);
// $x = 1;
echo
$this
->
render
(
'index'
);
echo
$this
->
render
(
'index'
);
}
}
...
...
apps/bootstrap/www/index.php
View file @
c6480c64
...
@@ -3,9 +3,8 @@
...
@@ -3,9 +3,8 @@
// comment out the following line to disable debug mode
// comment out the following line to disable debug mode
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
//require(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php');
require
(
__DIR__
.
'/../vendor/yiisoft/yii2/yii/Yii.php'
);
//require(__DIR__ . '/../vendor/autoload.php');
require
(
__DIR__
.
'/../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../../framework/yii/Yii.php'
);
$config
=
require
(
__DIR__
.
'/../config/main.php'
);
$config
=
require
(
__DIR__
.
'/../config/main.php'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment