A sample configuration file is available in local/config/config.php.sample. Just rename (or copy) it to local/config/config.php, and update it to your case.
Boolean for use of cache on front. By default is true, except in DEVELOPMENT environment.
New in version 0.2.0.2.
Int, number of seconds of cache validity. By default is 60.
Boolean for use of cache on Nos\Orm\Model properties. By default is false. If is true, all models properties will be cached with a auto-refresh mechanism : if you add a column on a model which has properties defined, the cache will be refreshed by a DB list_columns request when you access this column with get() or set().
New in version Chiba: 1.0.1
Array :
Parameters: |
|
---|
Boolean for use of assets minified in back-office. By default is true, except in DEVELOPMENT environment.
Path of a temp directory. Set to local/data/temp by default.
The DB configuration was initially created by the installation wizard. But you can (and you must to go live) update it after installation.
The DB configuration is in local/config/db.php.
See also
FuelPHP Database documentation for details.
By default, your Novius OS is not configured to send mail, because it’s too dependent on the server.
A sample configuration file is available in local/config/email.config.php.sample. Just rename (or copy) it to local/config/email.config.php, and update it to your case.
See also
FuelPHP email package documentation for details.
You can modify default configuration of WYSIWYGs in your Novius OS. You can also have multiple configurations, especially configurations for contexts.
A sample configuration file is available in local/config/wysiwyg.config.php.sample. Just rename (or copy) it to local/config/wysiwyg.config.php, and update it to your case.
To set a configuration for a context, set a key with the context id in the array setups:
<?php
return array(
'default' => array(
),
'active_setup' => 'default',
'setups' => array(
'default' => array(),
'main::en_GB' => array(
//... Set here your specific configuration for context main::en_GB
),
//'main::fr_FR' => array(),
//'main::ja_JP' => array(),
),
);
See also
TinyMCE documentation for details.
All segments of URLs builded in Novius OS are cleaned by the friendly slug mechanism.
A sample configuration file is available in local/config/friendly_slug.config.php.sample. Just rename (or copy) it to local/config/friendly_slug.config.php, and update it to your case.
active_setup: | The active setup key. This key must be present in setups. Execute in all case. Default value: default. |
---|---|
setups: | Array of different setups. |
In setups, key can be a context ID. In this case, this setup is excute for slugs in this context.
Four setups of rules are defined:
A setup value is an array. This array can contains :
Sample:
<?php
return array(
'setups' => array(
'my_default' => array(
// Use the 'no_accent' setup
'no_accent',
// Replace space by '_'
' ' => '_',
// All characters that are not a word character, a '-' or a '_' or a '*' are replaced by '-'.
'[^\w\*\-_]' => array('replacement' => '-', 'flags' => 'i'),
),
),
);