Skip to content

Pekwe/VAM_Mod_DownloadManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

VAM Module - Download Manager

Simple File downloader module for Virtual Airlines Manager System

! Only administrators can have access to file upload !


Installation
  • Rename original file download.php to backup_download.php
  • Upload download.php files to host
  • Upload DownloadManager folder to host
  • Give permission 755 DownloadManager folder and file download.php

Configure default downloads folder (Optional)

Edit default directory on DownloadManager/action.php

$dir = '../Downloads/';

Downloads folder is automatically created

Example structure folder:

  • Downloads/*

Personal sub-drirectory

  • My-folder-acars
  • My-folder-help
  • My-folder-planes
Modify files that can be downloaded (Optional)

Edit default Extension permit on DownloadManager/upload.php

$allowed_extension = array("zip", "rar", "tar.gz", "txt", "doc", "pdf");


Enjoy !

Created By Freedomsim-Virtual-Airlines


Example on my website:

Admin Manage Folder - Create, Rename, Delete, Uploads File

Admin Manage Files - Rename, Download, Delete

Users - interface Download Page

Users - download File(s)