init
This commit is contained in:
30
app/api/config.php
Executable file
30
app/api/config.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
//管理员用户ID
|
||||
'user_administrator' => 0,
|
||||
//是否启用布局
|
||||
'template' => [
|
||||
'layout_on' => false,
|
||||
'layout_name' => 'public/layout',
|
||||
// 模板路径
|
||||
//'view_path' => __DIR__ . '/view/',
|
||||
// 模板后缀
|
||||
'view_suffix' => 'phtml',
|
||||
// 模板文件名分隔符
|
||||
//'view_depr' => DS,
|
||||
],
|
||||
'view_replace_str' => [
|
||||
'__PUBLIC__' => '/frontend',
|
||||
//'__TEMPLATE__' => '/public/static',wqeqwe
|
||||
'__PREFIX__' => '',
|
||||
// '__ORICOROOT__' => 'http://us.orico.cc',
|
||||
'__ORICOROOT__' => 'https://www.orico.com.cn'
|
||||
],
|
||||
//分页配置
|
||||
'paginate' => [
|
||||
'type' => '\pagination\FrontPagination',
|
||||
'var_page' => 'page',
|
||||
'list_rows' => 12,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user