anrdaemon/mylittlegallery 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

anrdaemon/mylittlegallery

Composer 安装命令:

composer require anrdaemon/mylittlegallery

包简介

My Little Gallery, a PHP class and templates to create a quick drop-in HTML gallery.

README 文档

README

A PHP class and templates to create a quick drop-in HTML gallery.

Throubleshooting the demo script

Unable to read files with non-ASCII names

PHP before 7.1

Check that encoding of config.php file itself matches value of GALLERY_FS_ENCODING constant.

PHP 7.1+

config.php MUST be in UTF-8. For PHP 7.1 and up GALLERY_FS_ENCODING and $fsEncoding parameter of the constructor are ignored.

Starting from PHP 7.1, PHP uses internal_encoding to transcode file names. Before that, file IO under Windows (notably) done using "default" (so-called "ANSI") character set (i.e. CP1251 for Russian cyrillic).

Compiling single file archive

pharcommand.phar pack -f mlg.phar -s stub.php -c bzip2 index.php Gallery.php

Afterwards, the resulting mlg.phar can be used as index.php in your web gallery directory. You may want to place config.php next to it to configure the gallery. By default, it will list all recognized image files in current directory using UTF-8 encoding.

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: WTFPL
  • 更新时间: 2017-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固