| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * Basic Jlog Config File |
|---|
| 5 | * |
|---|
| 6 | * IMPORTANT: This file does not contain your personal settings, in most cases |
|---|
| 7 | * you do NOT want to modify this file. |
|---|
| 8 | * |
|---|
| 9 | * This configuration file offers changes to Jlog behaviour to advanced users. |
|---|
| 10 | * You may change the following constats, to move some of the Jlog folders to |
|---|
| 11 | * a different location, e.g. outside of the document root. |
|---|
| 12 | * |
|---|
| 13 | * You will probably need to update this file with every update, so keep that |
|---|
| 14 | * in mind if you start hacking Jlog here. |
|---|
| 15 | **/ |
|---|
| 16 | |
|---|
| 17 | /** |
|---|
| 18 | * Jlog Base Path |
|---|
| 19 | * |
|---|
| 20 | * This constant is used for historical reasons only and contains the path to |
|---|
| 21 | * the main Jlog folder. You should not modify this. |
|---|
| 22 | **/ |
|---|
| 23 | define ('JLOG_BASEPATH', dirname(__FILE__)); |
|---|
| 24 | |
|---|
| 25 | /** |
|---|
| 26 | * Library Path |
|---|
| 27 | * |
|---|
| 28 | * Needs to define the absolute path to the "lib" folder, which contains all |
|---|
| 29 | * libraries used by Jlog. You can share the lib folder among several Jlog |
|---|
| 30 | * installations. |
|---|
| 31 | **/ |
|---|
| 32 | define ('JLOG_LIBPATH', JLOG_BASEPATH . '/lib'); |
|---|
| 33 | |
|---|
| 34 | /** |
|---|
| 35 | * Language Path |
|---|
| 36 | * |
|---|
| 37 | * Needs to define the absolute path to the "lang" folder, which contains the |
|---|
| 38 | * localizations of Jlog . You can share the lib folder among several Jlog |
|---|
| 39 | * installations. |
|---|
| 40 | **/ |
|---|
| 41 | define ('JLOG_LANGPATH', JLOG_BASEPATH . '/lang'); |
|---|
| 42 | |
|---|
| 43 | /** |
|---|
| 44 | * Config Path |
|---|
| 45 | * |
|---|
| 46 | * Absolute ath to the folder which contains all config files for Jlog. By |
|---|
| 47 | * default this folder resides as a subfolder inside the "personal" folder. |
|---|
| 48 | * Each Jlog installation must have its own config directory. |
|---|
| 49 | **/ |
|---|
| 50 | define ('JLOG_CONFPATH', JLOG_BASEPATH . '/personal/conf'); |
|---|
| 51 | |
|---|
| 52 | /** |
|---|
| 53 | * Admin Folder Name |
|---|
| 54 | * |
|---|
| 55 | * By default the administration files reside in a folder called "admin". You |
|---|
| 56 | * can rename that folder if you want, if you also modify this constant here. |
|---|
| 57 | **/ |
|---|
| 58 | define ('JLOG_ADMINFOLDERNAME', 'admin'); |
|---|
| 59 | |
|---|
| 60 | /** |
|---|
| 61 | * Personal Folder Name |
|---|
| 62 | * |
|---|
| 63 | * By default all personal data is stored in a folder called "personal". You |
|---|
| 64 | * can rename that folder if you want, if you also modify this constant here. |
|---|
| 65 | **/ |
|---|
| 66 | define ('JLOG_PERSONALFOLDERNAME', 'personal'); |
|---|
| 67 | |
|---|
| 68 | /** |
|---|
| 69 | * Plugin Path |
|---|
| 70 | * |
|---|
| 71 | * Jlog's functionality can be extended by plugins, which need to be uploaded |
|---|
| 72 | * into a plugin folder. This constant defines the absolute path to the plugin |
|---|
| 73 | * folder. |
|---|
| 74 | * Each Jlog installation should have its own plugin folder, see |
|---|
| 75 | * JLOG_SHAREDPLUGINPATH, if you want to share plugins among several Jlog |
|---|
| 76 | * installations. |
|---|
| 77 | * |
|---|
| 78 | * There is a little trick: If you set the value of JLOG_PLUGINPATH to PHP's |
|---|
| 79 | * null value (NULL), the plugin architecture of Jlog is *completely disabled*, |
|---|
| 80 | * which may improve the performance in some cases. |
|---|
| 81 | **/ |
|---|
| 82 | define ('JLOG_PLUGINPATH', JLOG_BASEPATH . '/plugins'); |
|---|
| 83 | |
|---|
| 84 | /** |
|---|
| 85 | * Shared Plugin Path |
|---|
| 86 | * |
|---|
| 87 | * Absolute path to a plugin folder, that is shared among several Jlog instances. |
|---|
| 88 | * If a plugin is installed twice, in the plugin folder as well as in the |
|---|
| 89 | * shared plugin folder, the one in the local plugin folder takes precedence. |
|---|
| 90 | * |
|---|
| 91 | * Set this value to NULL, if you don't want to use this feature. |
|---|
| 92 | **/ |
|---|
| 93 | define ('JLOG_SHAREDPLUGINPATH', NULL); |
|---|
| 94 | |
|---|
| 95 | // eof |
|---|