You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
170 lines
11 KiB
170 lines
11 KiB
2 years ago
|
; +----------------------------------------------------------------------------+
|
||
|
; | This file is part of the LaiKeTui package. |
|
||
|
; | Copyright (c) laiketui.com. |
|
||
|
; | |
|
||
|
; | For the full copyright and license information, please view the LICENSE |
|
||
|
; | file that was distributed with this source code. You can also view the |
|
||
|
; | LICENSE file online at http://www.laiketui.com. |
|
||
|
; +----------------------------------------------------------------------------+
|
||
|
; | CORE MOJAVI SETTINGS |
|
||
|
; | -------------------------------------------------------------------------- |
|
||
|
; | KEYWORDS: |
|
||
|
; | |
|
||
|
; | The following keywords may exist in values: |
|
||
|
; | |
|
||
|
; | 1. %MO_APP_DIR% |
|
||
|
; | 2. %MO_LIB_DIR% |
|
||
|
; | 3. %MO_MODULE_DIR% |
|
||
|
; | 4. %MO_WEBAPP_DIR% |
|
||
|
; +----------------------------------------------------------------------------+
|
||
|
|
||
|
; ----- ACTION SETUP -----
|
||
|
|
||
|
[.actions]
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Default Module & Action |
|
||
|
; | ---------------------------------------------------------------------- |
|
||
|
; | When a request is made but does not specify a module, the module |
|
||
|
; | listed here will be used. When a request is made but does not specify |
|
||
|
; | an action, and the assumed module has no 'Index' action, the action |
|
||
|
; | listed here will be used. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
DEFAULT_MODULE = "Default"
|
||
|
DEFAULT_ACTION = "Index"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Error 404 Module & Action |
|
||
|
; | ---------------------------------------------------------------------- |
|
||
|
; | When a request is made for a nonexistent action, the request will be |
|
||
|
; | forwarded to this module and action pair. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
ERROR_404_MODULE = "Default"
|
||
|
ERROR_404_ACTION = "Error404"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Login Module & Action |
|
||
|
; | ---------------------------------------------------------------------- |
|
||
|
; | If an unauthenticated request is made for a secure action, the request |
|
||
|
; | will be forwarded to this module and action pair. In most scenario's |
|
||
|
; | this will be a login form. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
LOGIN_MODULE = "Default"
|
||
|
LOGIN_ACTION = "Login"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Module Disabled Module & Action |
|
||
|
; | ---------------------------------------------------------------------- |
|
||
|
; | When a request is made for a disabled module, the request will be |
|
||
|
; | forwarded to this module and action pair. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
MODULE_DISABLED_MODULE = "Default"
|
||
|
MODULE_DISABLED_ACTION = "ModuleDisabled"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Secure Module & Action |
|
||
|
; | ---------------------------------------------------------------------- |
|
||
|
; | When an authenticated request is made for an action that requires |
|
||
|
; | credentials not currently possessed by the user, the request will be |
|
||
|
; | forwarded to this module and action pair. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
SECURE_MODULE = "Default"
|
||
|
SECURE_ACTION = "Secure"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Unavailable Module & Action |
|
||
|
; | ---------------------------------------------------------------------- |
|
||
|
; | When a request is made for any action while the application is |
|
||
|
; | unavailable (this uses the AVAILABLE setting listed below), the |
|
||
|
; | request will be forwarded to this module and action pair. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
UNAVAILABLE_MODULE = "Default"
|
||
|
UNAVAILABLE_ACTION = "Unavailable"
|
||
|
|
||
|
; ----- SETTINGS -----
|
||
|
|
||
|
[.settings]
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | If this is on, the application functions as expected. When this is off |
|
||
|
; | all requests are forwarded to the UNAVAILABLE_ACTION specified above. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
AVAILABLE = "On"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | These indicate which request parameters are read to determine the |
|
||
|
; | expected module and action. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
ACTION_ACCESSOR = "action"
|
||
|
MODULE_ACCESSOR = "module"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | The default content-type that will be served. This doesn't force your |
|
||
|
; | application to physically servie this type, but rather provides a type |
|
||
|
; | that the client expects. This is useful for applications serve up |
|
||
|
; | multiple content-types. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
CONTENT_TYPE = "html"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | This is an absolute web path to the public module directory. This is |
|
||
|
; | used to access public module information such as stylesheets and |
|
||
|
; | images. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
MOD_PUB = "/modpub"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | These indicate the array and array key that store the PATH_INFO data |
|
||
|
; | for requests that specify it. This is only useful if you wish to allow |
|
||
|
; | parameters to be specified in the path information portion of the URL. |
|
||
|
; | |
|
||
|
; | The option to parse path information may not be available with your |
|
||
|
; | webserver. The best way to test if it is available is to create a test |
|
||
|
; | script with this in it: <?php phpinfo(); ?> Once you have the test |
|
||
|
; | script available for requst, make a request to it and append path |
|
||
|
; | information like so: http://www.domain.com/test.php/test/path/info. |
|
||
|
; | Once the PHP information is brought up on screen you should see a |
|
||
|
; | $_SERVER or $_ENV array key with the value '/test/path/info'. If the |
|
||
|
; | array is $_SERVER, specify 'SERVER' below, if it is $_ENV, specify |
|
||
|
; | 'ENV' below. |
|
||
|
; | |
|
||
|
; | ARRAY OPTIONS: SERVER, ENV |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
PATH_INFO_ARRAY = "SERVER"
|
||
|
PATH_INFO_KEY = "PATH_INFO"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | This is the format all Mojavi generated URL's will be in. If you're |
|
||
|
; | using PATH format, please verify your server can parse PATH INFO |
|
||
|
; | specified information. To determine if your server can parse PATH |
|
||
|
; | formatted URL's, read the information on the above description for the |
|
||
|
; | PATH_INFO_ARRAY setting. |
|
||
|
; | |
|
||
|
; | Examples: |
|
||
|
; | |
|
||
|
; | GET FORMAT: /index.php?param1=value1¶m2=value2 |
|
||
|
; | PATH FORMAT: /index.php/param1/value1/param2/value2 |
|
||
|
; | |
|
||
|
; | OPTIONS: GET, PATH |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
URL_FORMAT = "GET"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Whether or not to enable database connectivity. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
USE_DATABASE = "Off"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | Whether or not to register the security filter factory implementation |
|
||
|
; | when a request is made for an action that requires authentication. |
|
||
|
; | |
|
||
|
; | When this is on, the user factory implementation you use must be a |
|
||
|
; | SecurityUser implementation. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
USE_SECURITY = "On"
|
||
|
|
||
|
; +------------------------------------------------------------------------+
|
||
|
; | The User class provides attribute namespace support. This allows you |
|
||
|
; | change the name of the default namespace. |
|
||
|
; +------------------------------------------------------------------------+
|
||
|
USER_NAMESPACE = "org/mojavi"
|