Advanced Settings - Creadunet 3

creadunet
2017-01-20 18:45

You may need to change some settings, manually editing the configuration files.
Some specific values ??are not managed from the admin.

Viewing PHP Errors

By default, all PHP errors are displayed (or logged)
You can change and no longer display errors.

Open the file /includes/datasCreadunet.php, and change the line:
Ini_set ('display_errors', true);
Put false, or //ini_set ('display_errors', true); To use the default value of your hosting.

TimeZone

When installing the script, your zone was detected if possible.
If it was not detected, it was set to "Europe / Paris" by default.

If you want to change the value, open the /includes/datasCreadunet.php file, and change the line:
Date_default_timezone_set ('Europe / Paris');
Put a valid value !! (Valid timezone)

GeoIP

The GeoIP setting was done during the installation.
Most of the time you will use the value 2.
You can change this value.

Open the file /includes/datasCreadunet.php, and change the line:
Define ('GEOIP', 2);

1 = GeoIP installed on the server (and usable via variables $ _SERVER)
2 = use the php_GeoIP module provided with the script or on the download page.

Optimization Mysql queries for ads

On large PTPs, you can save MySql queries (and thus significantly improve performance) by changing a setting.

Open the file /includes/datasCreadunet.php, and change the line:
Define ('_ OPTIMISE_GESTION_PUB_', 0);

Possible values:
0 = no optimization, display stats are accurate
1 = slight optimization (50% less resources), the display stats are a little less precise
2 = significant optimization (75% fewer resources), display stats are somewhat less accurate

Smarty

By default, smarty is set to be optimized. Attention, this means that when you upgrade your template, it will be necessary to empty the cache! Otherwise, no update!

$smartyDdebug = false; // default setting to false
$smartyForceCompile = false; // default setting to false
$smartyCompileCheck = false; // default setting to false

SMARTY INFO
If $smartyCompileCheck is active, each template and configuration file that is related to the cache file will be checked for any changes. If any of these files have been changed since the
Cache file has been generated, the cache is immediately regenerated. This process is expensive, so for performance reasons, set this parameter to FALSE for an application in production.


If $smartyForceCompile is active, it's like there is no cache

$smartyDdebug is used to debug.

Average rating: 5 (1 Vote)

You cannot comment on this entry