1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/icecoder_ynh.git synced 2024-09-03 19:26:10 +02:00

Create config.php

This commit is contained in:
Stylix58 2021-03-29 19:20:02 +02:00 committed by GitHub
parent 34f593ef09
commit ee227b8d48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
conf/config.php Normal file
View file

@ -0,0 +1,15 @@
<?php
// Load ICEcoders Settings class from wherever you are and set as $icSettings
require "../conf/icecoder_settings.php";
$icSettings = new \ICEcoder\Settings();
// Load the global settings
$ICEcoderSettings = $icSettings->getConfigGlobalSettings();
print_r(getConfigUsersTemplate());
// Update the loginRequired setting to false
//$icSettings->updateConfigGlobalSettings(
// ["loginRequired" => false]
//);
?>