PHP Directory Listing Program Zdir Updated to v1.3

Publish: 2020-04-05 | Modify: 2020-04-06

Zdir is a directory listing program developed using PHP. It does not require a database and is easy to install and use. The updates in version 1.3 are as follows.

Update

Video Introduction

Zdir Features

  • Directory browsing
  • MarkDown file preview
  • CSS/JavaScript one-click copy
  • File hash
  • Image preview
  • Video playback (supports .mp4, .ts, .m3u8, and some other formats)
  • Audio playback (supports .mp3, .wav, .flac, .ape)
  • Text viewer (supports .txt, .sh, .py, .go, .c, .cpp)
  • Office online preview (supports .doc, .docx, .xls, .xlsx, .ppt, .pptx), note: preview is not supported for intranet or IP access
  • File indexing
  • QR code generation
  • File management (upload/delete/edit, etc.)
  • File search
  • Password verification
  • Chinese language support

v1.3 Update Description

  • Fixed the issue of Chinese characters not displaying correctly on Windows
  • Updated tinyfilemanager version
  • Updated parsedown version
  • Added display of usage instructions
  • Optimized music player
  • Other minor optimizations

Fixed the issue of Chinese characters not displaying correctly on Windows:

In previous versions, Zdir could only display Chinese characters correctly on Linux systems. This update resolves the issue of Chinese characters not displaying correctly on Windows. Feel free to test it.

Added display of usage instructions:

Zdir will automatically read the README.md file in the current directory and display it at the top for easier viewing of the usage instructions, as shown in the following image. (Note: The instruction file must be named README.md in strict accordance with the case sensitivity, otherwise it will not be displayed.)

Usage Instructions

Other optimizations

In this update, the versions of tinyfilemanager and parsedown have been updated, and some other minor optimizations have been made. For example, some text buttons have been replaced with icon buttons. You can download and experience more details yourself.

Optimizations

Some changes

In this upgrade, the username for the file manager has been changed from admin to zdir. Please pay attention when logging in.

Upgrade Method

  • Back up the existing files
  • Download the latest version and overwrite the files
  • Modify the config.php file and add a site_name element to the array, as shown below:
$siteinfo = array(
        "site_name" =>  "<i class='fa fa-sitemap' aria-hidden='true'></i> Zdir",
        "title"     =>  "Zdir Practical Directory Listing Program",
        "keywords"  =>  "zdir, h5ai, Directory Lister, Fdscript, directory listing, directory index",
        "description"   =>  "Zdir is a directory listing program developed using PHP, simple and practical, and free and open source."
    );

The value of site_name parameter is the name of the website displayed in the top left corner. Please modify it according to your own situation.

Get Donor Version

Scan the QR code below. Donating more than 30 yuan will give you access to the donor version, which includes first-time technical support and removal of advertisements. After donating, please contact me on QQ: 337003006 to get access.

Donation QR Code

Other


Comments