项目作者: dyazincahya

项目描述 :
Display directory
高级语言: JavaScript
项目地址: git://github.com/dyazincahya/index-of-directory.git
创建时间: 2021-01-01T09:19:58Z
项目社区:https://github.com/dyazincahya/index-of-directory

开源协议:MIT License

下载


Screenshot

index-of-directory

Display directory

Demo

Click Here To See Demo Online

Requirement

  • PHP 7 or Newer

Instalation

Configuration Default

  1. <?php
  2. // setting hidden file or folder here, define all filename or foldername in lowercase.
  3. defined('CNF_HIDDEN_FILES') OR define('CNF_HIDDEN_FILES', [
  4. '.htaccess',
  5. '.well-known',
  6. 'cgi-bin',
  7. 'error_log',
  8. 'index.php',
  9. '404.php',
  10. '.git',
  11. 'license',
  12. 'readme.md',
  13. 'assets',
  14. 'config.php',
  15. 'data-public',
  16. 'helper.php'
  17. ]);
  18. // setting directory location to scan
  19. defined('CNF_DEFAULT_SCANDIR') OR define('CNF_DEFAULT_SCANDIR', '.'); // . (dot) is default setting, will scan root directory.
  20. // setting this if you run this project in localhost
  21. defined('CNF_LOCALHOST_DIR') OR define('CNF_LOCALHOST_DIR', 'index-of-directory');

Build With

  • PHP
  • CSS - Bootstrap 5 Beta
  • JS