38 lines
1.3 KiB
PHP
Executable File
38 lines
1.3 KiB
PHP
Executable File
<?php
|
|
//------------------------------------------------------------------------------
|
|
// Configuration Variables
|
|
|
|
$GLOBALS["require_login"] = false;
|
|
|
|
// language: (en, de, es, fr, nl, ru)
|
|
$GLOBALS["language"] = "en";
|
|
|
|
// the filename of the script: (you rarely need to change this)
|
|
$GLOBALS["script_name"] = "http://".$GLOBALS['__SERVER']['HTTP_HOST'].$GLOBALS['__SERVER']["PHP_SELF"];
|
|
|
|
// allow Zip, Tar, TGz -> Only (experimental) Zip-support
|
|
$GLOBALS["zip"] = false; //function_exists("gzcompress");
|
|
$GLOBALS["tar"] = false;
|
|
$GLOBALS["tgz"] = false;
|
|
|
|
// QuiXplorer version:
|
|
$GLOBALS["version"] = "2.3";
|
|
//------------------------------------------------------------------------------
|
|
// Global User Variables (used when $require_login==false)
|
|
|
|
// the home directory for the filemanager: (use '/', not '\' or '\\', no trailing '/')
|
|
$GLOBALS["home_dir"] = db_getconfval("downdir");
|
|
|
|
// the url corresponding with the home directory: (no trailing '/')
|
|
$GLOBALS["home_url"] = "http://localhost/explorer";
|
|
|
|
// show hidden files in QuiXplorer: (hide files starting with '.', as in Linux/UNIX)
|
|
$GLOBALS["show_hidden"] = false;
|
|
|
|
// filenames not allowed to access: (uses PCRE regex syntax)
|
|
$GLOBALS["no_access"] = "^\.ht";
|
|
|
|
// user permissions bitfield: (1=modify, 2=password, 4=admin, add the numbers)
|
|
$GLOBALS["permissions"] = 7;
|
|
?>
|