mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
9 lines
251 B
PHP
9 lines
251 B
PHP
|
<?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';
|
||
|
|
||
|
?>
|