forked from science-ation/science-ation
Fix deprecated ereg_replace()
This commit is contained in:
parent
02b06de804
commit
dbf4c71e1f
@ -230,7 +230,7 @@ if($config['SFIABDIRECTORY'] == '') {
|
||||
session_name("SFIABSESSID");
|
||||
session_set_cookie_params(0,'/');
|
||||
} else {
|
||||
session_name("SFIABSESSID".ereg_replace("[^A-Za-z]","_",$config['SFIABDIRECTORY']));
|
||||
session_name("SFIABSESSID".preg_replace("/[^A-Za-z]/","_",$config['SFIABDIRECTORY']));
|
||||
session_set_cookie_params(0,$config['SFIABDIRECTORY']);
|
||||
}
|
||||
session_start();
|
||||
|
Loading…
Reference in New Issue
Block a user