File Manager
Pro
/data/web/virtuals/8819/virtual/www/mp3/public/config
PHP 7.4.33
Linux
/data/web/virtuals/8819/virtual/www/mp3/public/config/config.php
1.8 KB
0640
Back
<?php /******************************* Config for File Uploader ********************************/ function fileuploader() { ?> <script type="text/javascript"> $('#uploader_div').ajaxupload({ // url to upload.php file,required url:'upload.php', // file drag & drop allow,required dropArea: '#drop_here', // files upload path,must end with a trailing slash '/' remotePath:'uploads', // No. of maximum files to be selected for upload maxFiles: 9999, // maximum file size for upload,use 'G' for GB and 'M' for MB maxFileSize:'100G', // For uploading an entire folder contants to server,works on google chrome only,set to true/false to enable/disable uploadDir: false , // Remove file(s) from selected list after upload completes, set to true/false to enable/disable removeOnSuccess:false , // Upload file(s) to the server in chunks(parts) ,default is 1000 (kilobytes) ,remove '//' to allow this functions // 100000=100MB chunks ,use 0 to upload file(s) as a whole // chunkSize:100000, // allow desired file extensions to be uploaded ,write like this ['jpg', 'png', ' '] ,currently allows all extensions // allowExt:['jpg','png','mp3'], // autostart file(s) upload after selecting file(s) ,set to true/false to enable/disable autoStart:false }); </script> <?php } /***************************** Config for Remote Uploader ******************************/ function remoteuploader() { if(!defined("Remoteupload")) exit("access denied!"); // path where downloaded remote files are saved "with no slash" define("DownloadFolder", "uploads"); // downloaded timeout "set to 0 so that we do not time out on big files" define("TimeLimit", 0); // file size limit use M for "MB" and G for "GB" define("MemoryLimit", "2G"); } ?>
Cancel
Download
Save changes
File Manager Pro · single-file PHP 7.4.33 on Linux · paths encrypted in URL (AES-256-CTR)