Stars: 173
Forks: 61
Pull Requests: 0
Issues: 39
Watchers: 14
Last Updated: 2021-07-07 16:28:33
简洁好用的多用户图片社区。
License: GNU General Public License v2.0
Languages: PHP, JavaScript, CSS, HTML, Hack
MeiuPic升级为多用户相册系统了!可以轻松构建图虫、500px之类的图片社区。
install/install.sql
导入到数据库中。data/config.default.php
修改为 data/config.php
,并设置您的数据库相关配置:'database' => array(
'adapter' => 'pdomysql',
'host' => '127.0.0.1',
'port' => '3306',
'dbuser' => 'root',
'dbpass' => '',
'dbname' => 'meiupic',
'pconnect' => false,
'charset' => 'utf8',
'pre' => ''
),
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1&$args last;
break;
}
}
admin
密码:admin
体验吧。data/config.php
中的 'base_url' => '/目录/',
'admin_base' => '/目录/admin/',
'public_url' => '/目录/public/',
'storage' => array(
'adapter' => 'file', //存储引擎,目前支持file,qiniu两种
'setting' => array(
'dirpath' => ROOT_DIR.'public/upfiles/',
'url_pre' => '/目录/public/upfiles/'
)
),
location / {
if (!-e $request_filename) {
rewrite ^/目录/(.*)$ /目录/index.php?q=$1&$args last;
break;
}
}
可以通过修改配置文件直接支持七牛存储
'storage' => array(
'adapter' => 'qiniu', //存储引擎,目前支持file,qiniu两种
'setting' => array(
'bucket' => 'bucket名字',
'access_key' => '请填写七牛的access_key',
'secret_key' => '请填写七牛的secret_key',
'url_pre' => 'http://七牛bucket绑定的域名/',
'area' => 'z0' //这里输入七牛的区域
)
),
如果发现了bug,欢迎在issues中提交。