mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
6d8d8c9c2b
- Admin password (for user 'admin') - Rainloop installed in /var/www/rainloop/app for SSO to work (temporary fix) - Autoconfig langage (thanks maniackcrudelis) - Autosetup all existing domains - No hook yet (not implemented for domains)
9 lines
No EOL
251 B
PHP
9 lines
No EOL
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';
|
|
|
|
?>
|