mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
LSaddon::phpldapadmin: fix default config to avoid PHP warning in CLI mode
This commit is contained in:
parent
e8781ab779
commit
e9c49c242f
1 changed files with 5 additions and 1 deletions
|
@ -21,4 +21,8 @@
|
|||
******************************************************************************/
|
||||
|
||||
// PhpLdapAdmin View Object URL format
|
||||
define('LS_PHPLDAPADMIN_VIEW_OBJECT_URL_FORMAT','//'.$_SERVER['SERVER_NAME'].'/phpldapadmin/cmd.php?cmd=template_engine&server_id=0&dn=%{dn}');
|
||||
define(
|
||||
'LS_PHPLDAPADMIN_VIEW_OBJECT_URL_FORMAT',
|
||||
'//'.(isset($_SERVER['SERVER_NAME'])?$_SERVER['SERVER_NAME']:gethostname()).
|
||||
'/phpldapadmin/cmd.php?cmd=template_engine&server_id=0&dn=%{dn}'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue