1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00
rainloop_ynh/conf/config.php

9 lines
251 B
PHP
Raw Normal View History

<?php
$_ENV['RAINLOOP_INCLUDE_AS_API'] = true;
include '/var/www/rainloop/app/index.php';
$oConfig = \RainLoop\Api::Config();
$oConfig->SetPassword('ADMINPASSWORD');
echo $oConfig->Save() ? 'Admin password updated' : 'Admin password not updated';
?>