SOFM/config.php

19 lines
1013 B
PHP
Executable File

<?php
//$config_var[0] = "password"; // Registration validation key - not needed //
$config_var[1] = "21474825485"; // Max virtual disk space usage - default 500MB //
$config_var[2] = "367000000"; // Max file upload space - default 10MB //
$config_var[3] = "Simple Online File Manager"; // Title //
$config_var[4] = "Flat file multi user file manager with set usage and file upload restrictions"; // Description //
$title = $config_var[3];
$desc = $config_var[4];
$user_max_webspace = $config_var[1];
$user_max_upload = $config_var[2];
$version = "v1.2.1"; // Current version ~ displayed in footer.
// Allowed file extensions within array. Easy to handle as well as loop
$allowedExts = array("gif", "jpeg", "jpg", "png", "bmp", "ico", "swf", "txt", "html", "htm", "xhtml", "css", "js", "c", "cpp", "lua", "py", "tar", "zip", "rar", "gz", "7z", "bz2", "tgz", "mp3", "mp4", "ogg", "wav", "ogv", "flv", "webm", "pdf", "json", "ttf", "rtf", "otf", "svg", "bz", "sig", "sum", "tbz", "xz", "iso", "img", "apk");
?>