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
scith 6d8d8c9c2b New features
- 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)
2015-10-11 22:46:23 +02:00

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';
?>