update root folder links (#301)
This commit is contained in:
parent
7c567643e3
commit
db7f923766
12
README.md
12
README.md
@ -6,7 +6,7 @@
|
|||||||
<br>
|
<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Yii 2 Basic Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for
|
Yii 2 Basic Project Template is a skeleton [Yii 2](https://www.yiiframework.com/) application best for
|
||||||
rapidly creating small projects.
|
rapidly creating small projects.
|
||||||
|
|
||||||
The template contains the basic features including user login/logout and a contact page.
|
The template contains the basic features including user login/logout and a contact page.
|
||||||
@ -45,8 +45,8 @@ INSTALLATION
|
|||||||
|
|
||||||
### Install via Composer
|
### Install via Composer
|
||||||
|
|
||||||
If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions
|
If you do not have [Composer](https://getcomposer.org/), you may install it by following the instructions
|
||||||
at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
|
at [getcomposer.org](https://getcomposer.org/doc/00-intro.md#installation-nix).
|
||||||
|
|
||||||
You can then install this project template using the following command:
|
You can then install this project template using the following command:
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ http://localhost/basic/web/
|
|||||||
|
|
||||||
### Install from an Archive File
|
### Install from an Archive File
|
||||||
|
|
||||||
Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to
|
Extract the archive file downloaded from [yiiframework.com](https://www.yiiframework.com/download/) to
|
||||||
a directory named `basic` that is directly under the Web root.
|
a directory named `basic` that is directly under the Web root.
|
||||||
|
|
||||||
Set cookie validation key in `config/web.php` file to some random secret string:
|
Set cookie validation key in `config/web.php` file to some random secret string:
|
||||||
@ -131,7 +131,7 @@ return [
|
|||||||
TESTING
|
TESTING
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Tests are located in `tests` directory. They are developed with [Codeception PHP Testing Framework](http://codeception.com/).
|
Tests are located in `tests` directory. They are developed with [Codeception PHP Testing Framework](https://codeception.com/).
|
||||||
By default, there are 3 test suites:
|
By default, there are 3 test suites:
|
||||||
|
|
||||||
- `unit`
|
- `unit`
|
||||||
@ -164,7 +164,7 @@ To execute acceptance tests do the following:
|
|||||||
composer update
|
composer update
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Download [Selenium Server](http://www.seleniumhq.org/download/) and launch it:
|
4. Download [Selenium Server](https://www.seleniumhq.org/download/) and launch it:
|
||||||
|
|
||||||
```
|
```
|
||||||
java -jar ~/selenium-server-standalone-x.xx.x.jar
|
java -jar ~/selenium-server-standalone-x.xx.x.jar
|
||||||
|
@ -105,22 +105,22 @@ $requirements = array(
|
|||||||
'name' => 'Memcache extension',
|
'name' => 'Memcache extension',
|
||||||
'mandatory' => false,
|
'mandatory' => false,
|
||||||
'condition' => extension_loaded('memcache') || extension_loaded('memcached'),
|
'condition' => extension_loaded('memcache') || extension_loaded('memcached'),
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-caching-memcache.html">MemCache</a>',
|
'by' => '<a href="https://www.yiiframework.com/doc-2.0/yii-caching-memcache.html">MemCache</a>',
|
||||||
'memo' => extension_loaded('memcached') ? 'To use memcached set <a href="http://www.yiiframework.com/doc-2.0/yii-caching-memcache.html#$useMemcached-detail">MemCache::useMemcached</a> to <code>true</code>.' : ''
|
'memo' => extension_loaded('memcached') ? 'To use memcached set <a href="https://www.yiiframework.com/doc-2.0/yii-caching-memcache.html#$useMemcached-detail">MemCache::useMemcached</a> to <code>true</code>.' : ''
|
||||||
),
|
),
|
||||||
// CAPTCHA:
|
// CAPTCHA:
|
||||||
array(
|
array(
|
||||||
'name' => 'GD PHP extension with FreeType support',
|
'name' => 'GD PHP extension with FreeType support',
|
||||||
'mandatory' => false,
|
'mandatory' => false,
|
||||||
'condition' => $gdOK,
|
'condition' => $gdOK,
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-captcha-captcha.html">Captcha</a>',
|
'by' => '<a href="https://www.yiiframework.com/doc-2.0/yii-captcha-captcha.html">Captcha</a>',
|
||||||
'memo' => $gdMemo,
|
'memo' => $gdMemo,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'ImageMagick PHP extension with PNG support',
|
'name' => 'ImageMagick PHP extension with PNG support',
|
||||||
'mandatory' => false,
|
'mandatory' => false,
|
||||||
'condition' => $imagickOK,
|
'condition' => $imagickOK,
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-captcha-captcha.html">Captcha</a>',
|
'by' => '<a href="https://www.yiiframework.com/doc-2.0/yii-captcha-captcha.html">Captcha</a>',
|
||||||
'memo' => $imagickMemo,
|
'memo' => $imagickMemo,
|
||||||
),
|
),
|
||||||
// PHP ini :
|
// PHP ini :
|
||||||
@ -153,7 +153,7 @@ if (!version_compare(phpversion(), '5.5', '>=')) {
|
|||||||
'name' => 'APC extension',
|
'name' => 'APC extension',
|
||||||
'mandatory' => false,
|
'mandatory' => false,
|
||||||
'condition' => extension_loaded('apc'),
|
'condition' => extension_loaded('apc'),
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-caching-apccache.html">ApcCache</a>',
|
'by' => '<a href="https://www.yiiframework.com/doc-2.0/yii-caching-apccache.html">ApcCache</a>',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4
yii
4
yii
@ -3,9 +3,9 @@
|
|||||||
/**
|
/**
|
||||||
* Yii console bootstrap file.
|
* Yii console bootstrap file.
|
||||||
*
|
*
|
||||||
* @link http://www.yiiframework.com/
|
* @link https://www.yiiframework.com/
|
||||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||||
* @license http://www.yiiframework.com/license/
|
* @license https://www.yiiframework.com/license/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||||
|
4
yii.bat
4
yii.bat
@ -4,9 +4,9 @@ rem -------------------------------------------------------------
|
|||||||
rem Yii command line bootstrap script for Windows.
|
rem Yii command line bootstrap script for Windows.
|
||||||
rem
|
rem
|
||||||
rem @author Qiang Xue <qiang.xue@gmail.com>
|
rem @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
rem @link http://www.yiiframework.com/
|
rem @link https://www.yiiframework.com/
|
||||||
rem @copyright Copyright (c) 2008 Yii Software LLC
|
rem @copyright Copyright (c) 2008 Yii Software LLC
|
||||||
rem @license http://www.yiiframework.com/license/
|
rem @license https://www.yiiframework.com/license/
|
||||||
rem -------------------------------------------------------------
|
rem -------------------------------------------------------------
|
||||||
|
|
||||||
@setlocal
|
@setlocal
|
||||||
|
Loading…
Reference in New Issue
Block a user