Revision 748
Added by doc about 16 years ago
config.php | ||
---|---|---|
26 | 26 |
|
27 | 27 |
// SECURITY: You must explicitly enable this "connector". (Set it to "true"). |
28 | 28 |
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only |
29 |
// authenticated users can access this file or use some kind of session checking.
|
|
29 |
// authenticated users can access this file or use some kind of session checking.
|
|
30 | 30 |
$Config['Enabled'] = false ; |
31 | 31 |
|
32 | 32 |
/** |
... | ... | |
50 | 50 |
// Path to user files relative to the document root. |
51 | 51 |
// $Config['UserFilesPath'] = '/userfiles/' ; |
52 | 52 |
$Config['UserFilesPath'] = WB_URL .MEDIA_DIRECTORY ; |
53 |
// use home folder of current user as document root if available |
|
54 |
if(isset($_SESSION['HOME_FOLDER']) && file_exists(WB_PATH .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){ |
|
55 |
$Config['UserFilesPath'] = $Config['UserFilesPath'].$_SESSION['HOME_FOLDER']; |
|
56 |
} |
|
53 | 57 |
|
54 | 58 |
// Fill the following value it you prefer to specify the absolute path for the |
55 | 59 |
// user files directory. Useful if you are using a virtual directory, symbolic |
... | ... | |
57 | 61 |
// Attention: The above 'UserFilesPath' must point to the same directory. |
58 | 62 |
// $Config['UserFilesAbsolutePath'] = '' ; |
59 | 63 |
$Config['UserFilesAbsolutePath'] = WB_PATH .MEDIA_DIRECTORY ; |
60 |
|
|
64 |
// use home folder of current user as document root if available |
|
65 |
if(isset($_SESSION['HOME_FOLDER']) && file_exists(WB_PATH .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){ |
|
66 |
$Config['UserFilesAbsolutePath'] = $Config['UserFilesAbsolutePath'].$_SESSION['HOME_FOLDER']; |
|
67 |
} |
|
61 | 68 |
// Due to security issues with Apache modules, it is recommended to leave the |
62 | 69 |
// following setting enabled. |
63 | 70 |
$Config['ForceSingleExtension'] = true ; |
Also available in: Unified diff
Added WB home folder fix proposed by the forum member spawnferkel.
Defined <strong> and <em> instead of <b> and <i> as default tags.