Commit 4c97f36f authored by tufengqi's avatar tufengqi

finish

parent 4d25d05f
......@@ -13,7 +13,7 @@ nbproject
Thumbs.db
# composer vendor dir
# /vendor
/vendor
# composer itself is not needed
composer.phar
......@@ -32,5 +32,5 @@ tests/_support/_generated
#vagrant folder
/.vagrant
.vscode
/composer.lock
.vscode
\ No newline at end of file
{
"name": "yii2_33cn",
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "http://www.yiiframework.com/",
......@@ -13,6 +13,23 @@
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.14",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0",
"yiisoft/yii2-redis": "~2.0.0"
},
"require-dev": {
"yiisoft/yii2-debug": "~2.0.0",
"yiisoft/yii2-gii": "~2.0.0",
"yiisoft/yii2-faker": "~2.0.0",
"codeception/base": "^2.2.3",
"codeception/verify": "~0.3.1",
"codeception/specify": "~0.4.3",
"yiisoft/yii2-redis": "~2.0.0"
},
"config": {
"process-timeout": 1800,
"fxp-asset": {
......
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.14",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0",
"yiisoft/yii2-redis": "~2.0.0"
},
"require-dev": {
"yiisoft/yii2-debug": "~2.0.0",
"yiisoft/yii2-gii": "~2.0.0",
"yiisoft/yii2-faker": "~2.0.0",
"codeception/base": "^2.2.3",
"codeception/verify": "~0.3.1",
"codeception/specify": "~0.4.3",
"yiisoft/yii2-redis": "~2.0.0"
},
"config": {
"process-timeout": 1800,
"fxp-asset": {
"enabled": false
}
},
"scripts": {
"post-install-cmd": [
"yii\\composer\\Installer::postInstall"
],
"post-create-project-cmd": [
"yii\\composer\\Installer::postCreateProject",
"yii\\composer\\Installer::postInstall"
]
},
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
{
"runtime": "0777",
"web/assets": "0777",
"yii": "0755"
}
]
},
"yii\\composer\\Installer::postInstall": {
"generateCookieValidationKey": [
"config/web.php"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
......@@ -14,7 +14,7 @@ $config = [
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'cookieValidationKey' => '5nG-JKyGuRvGLRNvWiwjecY4v4-DcabJ',
'cookieValidationKey' => 'Aagb1nulB6XAxutSiagyVEUfptB_FGvu',
],
'cache' => [
'class' => 'yii\caching\FileCache',
......
......@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitbf4feedb21eba39918a8e9ecae565568::getLoader();
return ComposerAutoloaderInit97a67cf8e113c18879252ee2e05809be::getLoader();
......@@ -7,6 +7,7 @@ $baseDir = dirname($vendorDir);
return array(
'yii\\swiftmailer\\' => array($vendorDir . '/yiisoft/yii2-swiftmailer'),
'yii\\redis\\' => array($vendorDir . '/yiisoft/yii2-redis/src'),
'yii\\gii\\' => array($vendorDir . '/yiisoft/yii2-gii'),
'yii\\faker\\' => array($vendorDir . '/yiisoft/yii2-faker'),
'yii\\debug\\' => array($vendorDir . '/yiisoft/yii2-debug'),
......
......@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitbf4feedb21eba39918a8e9ecae565568
class ComposerAutoloaderInit97a67cf8e113c18879252ee2e05809be
{
private static $loader;
......@@ -19,9 +19,9 @@ class ComposerAutoloaderInitbf4feedb21eba39918a8e9ecae565568
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitbf4feedb21eba39918a8e9ecae565568', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit97a67cf8e113c18879252ee2e05809be', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitbf4feedb21eba39918a8e9ecae565568', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit97a67cf8e113c18879252ee2e05809be', 'loadClassLoader'));
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
......@@ -42,14 +42,14 @@ class ComposerAutoloaderInitbf4feedb21eba39918a8e9ecae565568
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequirebf4feedb21eba39918a8e9ecae565568($fileIdentifier, $file);
composerRequire97a67cf8e113c18879252ee2e05809be($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequirebf4feedb21eba39918a8e9ecae565568($fileIdentifier, $file)
function composerRequire97a67cf8e113c18879252ee2e05809be($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
......
......@@ -464,6 +464,59 @@
]
},
{
"name": "yiisoft/yii2-redis",
"version": "2.0.8",
"version_normalized": "2.0.8.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii2-redis.git",
"reference": "ffe6bff8dc6be4bb84c9495cd3ef7ef1161c1314"
},
"dist": {
"type": "zip",
"url": "https://files.phpcomposer.com/files/yiisoft/yii2-redis/ffe6bff8dc6be4bb84c9495cd3ef7ef1161c1314.zip",
"reference": "ffe6bff8dc6be4bb84c9495cd3ef7ef1161c1314",
"shasum": ""
},
"require": {
"yiisoft/yii2": "~2.0.14"
},
"require-dev": {
"yiisoft/yii2-dev": "~2.0.14"
},
"time": "2018-03-20 11:01:04",
"type": "yii2-extension",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"yii\\redis\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Carsten Brandt",
"email": "mail@cebe.cc"
}
],
"description": "Redis Cache, Session and ActiveRecord for the Yii framework",
"keywords": [
"active-record",
"cache",
"redis",
"session",
"yii2"
]
},
{
"name": "bower-asset/bootstrap",
"version": "v3.3.7",
"version_normalized": "3.3.7.0",
......
......@@ -12,6 +12,15 @@ return array (
'@yii/swiftmailer' => $vendorDir . '/yiisoft/yii2-swiftmailer',
),
),
'yiisoft/yii2-redis' =>
array (
'name' => 'yiisoft/yii2-redis',
'version' => '2.0.8.0',
'alias' =>
array (
'@yii/redis' => $vendorDir . '/yiisoft/yii2-redis/src',
),
),
'yiisoft/yii2-bootstrap' =>
array (
'name' => 'yiisoft/yii2-bootstrap',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment