Source code of filesite.io. https://filesite.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.1 KiB

3 years ago
<?php
/**
* Config
*/
return array(
'default_timezone' => 'Asia/Shanghai', //timezone
3 years ago
//文档站皮肤
//'content_directory' => 'content/', //directory of contents in /www/
//when it's empty, use layout and views in directory views/
//'theme' => 'manual', //name of theme which is enabled
//导航站皮肤
2 years ago
//'content_directory' => 'navs/', //directory of contents in /www/
//'theme' => 'webdirectory',
//图片站皮肤
'content_directory' => 'girls/', //directory of contents in /www/
'theme' => 'googleimage', //name of theme which is enabled
//视频站皮肤
//'content_directory' => 'videos/', //directory of contents in /www/
//'theme' => 'videoblog', //name of theme which is enabled
'maxScanDirLevels' => 4, //max directory levels to scan
3 years ago
'default_layout' => 'main', //default layout
'error_layout' => 'error', //exception layout, show error title and content
//for debug, log directory: ../runtime/logs/
'debug' => true,
//for themes
2 years ago
/*
//图片皮肤配置
'googleimage' => array(
3 years ago
'imageHeight' => 350, //图片高度,单位:px
'contact' => 'FileSite图片网站订制联系:<a href="https://filesite.io" target="_blank">FileSite.io</a>',
),
2 years ago
*/
//视频皮肤配置
'videoblog' => array(
'imageHeight' => 180, //图片高度,单位:px
'contact' => 'FileSite视频网站订制联系:<a href="https://filesite.io" target="_blank">FileSite.io</a>',
),
//md5加密前缀
'md5Prefix' => 'some_code_here',
//后台管理相关配置
'admin' => array(
'username' => 'filesite',
'password' => '88888888',
2 years ago
'captcha' => true, //后台登陆是否开启验证码
'maxUploadFileSize' => 20, //单位:Mb
'allowedUploadFileTypes' => array(
'image/jpeg',
'image/png',
'image/webp',
'image/gif',
),
),
3 years ago
);