Example #1
0
 public static function start()
 {
     session_name(md5(Config::getVariable("location")) . session_name());
     $return = session_start();
     session_regenerate_id();
     return $return;
 }
Example #2
0
 public static function authLDAPUser($username, $password)
 {
     return LDAPUtil::checkNTuser($username, $password, Config::getVariable('ldap_domain'), Config::getVariable('ldap_server'));
 }
Example #3
0
 public static function addPrefix($tableName)
 {
     return Config::getVariable("mysql_table_prefix") . $tableName;
 }
Example #4
0
 public static function decrypt($v_text)
 {
     return mcrypt_decrypt(MCRYPT_BLOWFISH, Config::getVariable('blowfish_key'), $v_text, MCRYPT_MODE_CFB, CryptoUtil::$iv);
 }
Example #5
0
 private static function getSessionPrefix()
 {
     return Config::getVariable("location");
 }