Location: PHPKode > projects > PhpWebDesk > phpWebDesk/config.inc.php
<?php
//
// phpWebDesk config file
//
// Fill this out correctly, or some functions (specifically the converter include) will screw up.
//

###### General info ######

// Root folder of the server on the system, preferably UNIX-style. Trailing slash required.
//(for example on my webserver it's /www/)
$root_folder = "/www/";

// Folder which the phpWebDesk files (eg. converter.inc.php) are stored in, again relative to system root.
$wdfolder = "/www/projects/phpWebDesk/";

// Use browscap.ini? Default is false, but if you have an up-to-date browscap.ini,
// and/or have access to it, then choose true. Note that the inbuilt detector
// uses an up-to-date browscap file.
$usebrowscap = false;

###### Updater ######

// File to use for inbuilt browser detection (note: MUST BE in .csv format, preferably from www.garykeith.com)
$browscappath = "./browscap.csv";

// File to download for inbuilt browser detection (note: MUST BE in .csv format, preferably from www.garykeith.com)
$browscapurl = "http://www.garykeith.com/data/browscap.csv";

// Password (default: 'password') [updating the browscap.csv file only downloads it. Still, could cause a DoS]
$uppass = "password";

// Auto update (will update about every week. One user will experience about 30s delay. Useful for minimal 
// maintenance sites.
$autoupdate = true;

###### Image converter ######

// Second-preferred image format. PNG is always used unless the browser detection spits up a problem;
// pretty much all HTML and the colour WAP browsers support this. This value should not be 0, as it is only
// used when PNG isn't supported. My advice is 1 - jpeg. If you're pretty much only doing WAP sites, you may
// want to use WBMP.

// Codes: 1 - JPEG, 2 - GIF, 3 - BMP, 4 - WBMP
$altimgformat = 1;

###### Compresser ######

// File patterns to automatically compress (add the . if using extensions. May use MIME types later - could be slower)
// Uncomment .iso and .bin if you're serving small CD images - big ones may take a while to compress, making the
// user somewhat bored.
$exts2cp = array(".exe", ".msi", /*".iso", ".bin",*/ ".cue");

// File patterns to automatically override compression. You may want to include things like .gz and .zip in here
// because otherwise a lot of time will be wasted trying to compress them.
$exts2ovrcp = array("http://", "ftp://", "https://", ".gz", ".zip", ".bz", ".bz2", ".rar");

?>
Return current item: PhpWebDesk