Config file
The config.php file is a special file that contains the MySQL database log-in details and other important settings. Most of the settings are generated automatically, but some are optional. You can add the following settings below:
| Code | Description |
|---|---|
define('SB_UPLOAD_URL', 'YOUR-URL') | Change the uploads directory (the default directory is: /chat24plus/uploads/).Enter a URL: for example, https://your-site.com/myuploads/.For this setting, you also need to define SB_UPLOAD_PATH. |
define('SB_UPLOAD_PATH', 'YOUR-PATH') | Change the uploads directory path (the default path is: /chat24plus/uploads/).Enter a PATH: for example, C:\xampp\htdocs\uploads. Finding the root path of your website can be a bit tricky. You can try copying the path displayed in your FTP client or simply contact your web hosting provider for additional support. |
$GLOBALS['SB_LOCAL_SETTINGS'] = [] | Overwrite the default settings. The value is an array of keys and values, where each key is a setting, e.g. ["registration-required" => [true]].View an example here. Get the settings list from resources/json/settings.json and the files settings.json inside the app folders. |