mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LScli : load some classes by default
This commit is contained in:
parent
164a8fab48
commit
448d977f14
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ require_once realpath(dirname(__FILE__)."/../")."/core.php";
|
|||
|
||||
if(LSsession :: startCliLSsession()) {
|
||||
|
||||
// Load some default classes
|
||||
foreach(array('LSsearch', 'LSldapObject') as $class)
|
||||
if (!LSsession :: loadLSClass($class))
|
||||
LSlog :: fatal("Fail to load class $class.");
|
||||
|
||||
// Handle CLI arguments and run command (if provided)
|
||||
LScli :: handle_args();
|
||||
|
||||
|
|
Loading…
Reference in a new issue