Custom Settings File

Overview

Webuzo saves the admin settings in universal.php file which is present in the enduser folder in the Webuzo path. For e.g. in Webuzo the location is

/usr/local/webuzo/enduser/universal.php

The settings you change in Webuzo admin panel are saved in this file.

Custom universal.php

If you would like to create a custom universal.php file which should overwrite the settings saved by Webuzo you can now create a universal.custom.php file in the same folder where universal.php is saved. This custom file will be included right after universal.php is included and you can override the settings.

Sample contents of a universal.custom.php file

<?php
$globals['max_backups'] = 5;
$globals['force_auto_upgrade'] = 1;
$globals['force_upgrade_plugins'] = 1;
$globals['force_upgrade_themes'] = 1;

Note : The file universal.custom.php is not included in Webuzo package hence it will not be overwritten by Webuzo upgrades.

Note : If your custom file is not loaded save the settings from Webuzo admin panel -> Settings page once and then try.

Was this helpful to you?