Parcourir la source

Update readme and composer 文件

朱金辉 il y a 2 ans
Parent
commit
486ac63fcd
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -47,6 +47,7 @@ composer.json:
 	相关的配置文件见 configure/app.ini及configure/db.ini文件
 
 3、推荐使用rewrite短链的方式运行代码
+	根目录指向到public目录,并设置rewrite规则
 	Nginx配置rewrite规则
 	```
 	location / {
@@ -88,6 +89,7 @@ composer.json:
 	3) Qii 基本功能:
 		\Qii::getInstance(className, param1, param2, param3[,...]); === ($class = new className(param1, param2, param3[,...]));
 		_loadClass(className)->method(); === $class->method();
+		_library('Cyrpt') == new \Qii\Library\Crypt();
 		_require(fileName); 如果指定的文件无法找到则会在get_include_path()和站点配置文件的[path]的目录中去搜索,直到搜索到一个则停止。
 		_include(fileName); == include(fileName);
 		_config($key, $value);保存到私有变量 $_global[$key]中, $value可以为数组,如果是数组的话会将数组合并到已经存在$key的数组中去。
@@ -337,4 +339,4 @@ composer.json:
 			$this->cache->remove($cache_id);
 		}
 	}
-*** 更多好的方法见方法提供的文件示例。
+* 更多好的方法见方法提供的文件示例或***demo***文件