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:
parent
34f593ef09
commit
ee227b8d48
1 changed files with 15 additions and 0 deletions
15
conf/config.php
Normal file
15
conf/config.php
Normal 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]
|
||||||
|
//);
|
||||||
|
?>
|
Loading…
Add table
Reference in a new issue