chansig/directoryindex 问题修复 & 功能扩展

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

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

chansig/directoryindex

最新稳定版本:v0.3.2

Composer 安装命令:

composer require chansig/directoryindex

包简介

PHP directory Index

README 文档

README

Created by, [Chansig] (https://github.com/Chansig)

Introduction

Directory Index is a simple PHP script that lists the contents of any web-accessable directory and allows navigating there within. Simply upload index.php file to any directory and get immediate access to all files and sub-direcories under that directory. Directory Index is written in PHP 5.3+ and distributed under the MIT License.

Features

  • Extremely simple installation
  • Creates on-the-fly listing of any web-accessable directory
  • Custimizable sort order of files/folders
  • Easily define hidden files or file type to be excluded from the listing

Requirements

Directory Index requires PHP 5.3+ to work properly. For more information on PHP, please visit http://www.php.net.

Installation

  • Upload src/index.php to the folder you want listed. That's all!

  • For more settings:

    • copy src/index.php or execute src/generate.php with the destination in argument and rename index.php.dist in index.php.

      ex:
      php src/generate.php /var/www/mysite

    • Edit the new index.php and change values in Setting class

    • Upload index.php to the folder you want listed.

Troubleshooting

Ensure you have the latest version of Directory Index installed.

Verify that you have PHP 5.3 or later installed. You can verify your PHP version by running:

php --version

Contact Info

Find a problem or bug with Directory Index? Open an issue on GitHub.

License

Directory Index is distributed under the terms of the MIT License.

Copyright 2015 [Chansig] (https://github.com/Chansig)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-26