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
f8664a38
Commit
f8664a38
authored
Dec 26, 2012
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted default application template
parent
476266a2
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
52 additions
and
7 deletions
+52
-7
config.php
framework/console/create/config.php
+0
-3
index-test.php
framework/console/create/default/index-test.php
+0
-2
main.php
framework/console/create/default/protected/config/main.php
+17
-0
SiteController.php
...e/create/default/protected/controllers/SiteController.php
+16
-0
bootstrap.php
...work/console/create/default/protected/tests/bootstrap.php
+0
-1
main.php
...k/console/create/default/protected/views/layouts/main.php
+17
-0
index.php
...ork/console/create/default/protected/views/site/index.php
+2
-0
yiic.php
framework/console/create/default/protected/yiic.php
+0
-1
No files found.
framework/console/create/config.php
View file @
f8664a38
...
@@ -10,9 +10,6 @@ return array(
...
@@ -10,9 +10,6 @@ return array(
},
},
'permissions'
=>
0777
,
'permissions'
=>
0777
,
),
),
'assets'
=>
array
(
'permissions'
=>
0777
,
),
'protected/runtime'
=>
array
(
'protected/runtime'
=>
array
(
'permissions'
=>
0755
,
'permissions'
=>
0755
,
),
),
...
...
framework/console/create/default/index-test.php
deleted
100644 → 0
View file @
476266a2
<?php
\ No newline at end of file
framework/console/create/default/protected/config/main.php
0 → 100644
View file @
f8664a38
<?php
return
array
(
'name'
=>
'My Web Application'
,
'components'
=>
array
(
// uncomment the following to use a MySQL database
/*
'db' => array(
'class' => 'yii\db\dao\Connection',
'dsn' => 'mysql:host=localhost;dbname=testdrive',
'username' => 'root',
'password' => '',
),
*/
),
);
\ No newline at end of file
framework/console/create/default/protected/controllers/SiteController.php
0 → 100644
View file @
f8664a38
<?php
use
\yii\web\Controller
;
/**
* SiteController
*/
class
SiteController
extends
Controller
{
public
function
actionIndex
()
{
echo
$this
->
render
(
'index'
,
array
(
'name'
=>
'Qiang'
,
));
}
}
\ No newline at end of file
framework/console/create/default/protected/tests/bootstrap.php
deleted
100644 → 0
View file @
476266a2
<?php
framework/console/create/default/protected/views/layouts/main.php
0 → 100644
View file @
f8664a38
<!doctype html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<title>
<?php
echo
$this
->
context
->
pageTitle
?>
</title>
</head>
<body>
<h1>
<?php
echo
$this
->
context
->
pageTitle
?>
</h1>
<div
class=
"content"
>
<?php
echo
$content
?>
</div>
<div
class=
"footer"
>
<?php
echo
\Yii
::
powered
()
?>
</div>
</body>
</html>
\ No newline at end of file
framework/console/create/default/protected/views/site/index.php
0 → 100644
View file @
f8664a38
Hello,
<?php
echo
$name
?>
!
\ No newline at end of file
framework/console/create/default/protected/yiic.php
deleted
100644 → 0
View file @
476266a2
<?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