Package Data | |
---|---|
Maintainer Username: | zhangkexiang |
Maintainer Contact: | zhangkexiang@qingdao1024.com (coding) |
Package Create Date: | 2016-12-27 |
Package Last Update: | 2016-12-31 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-29 15:02:25 |
Package Statistics | |
---|---|
Total Downloads: | 171 |
Monthly Downloads: | 6 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
示例: 开发过程中目录:
config
union.php
src
union-*.php
vendor
*
<?php
return [
'log'=>[
'sms'=>'/tmp/laravel.log'
],
'mid'=>[
'excepturl'=>[
'3/user/login'
]
]
];
union-*.php 中调用
$tmp = union_config('union.log.sms','');
即可得到'/tmp/laravel.log'
$tmp = union_config('union.test.test','');
在无配置的情况下得到''