mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
dir_exist() -> dir_exists()
This commit is contained in:
parent
5eb817bc86
commit
0b03c1490a
@ -790,7 +790,7 @@ function vpn_pppoe_configure() {
|
||||
$pppoecfg = $config['pppoe'];
|
||||
|
||||
/* create directory if it does not exist */
|
||||
if(!dir_exist("{$g['varetc_path']}/mpd-vpn"))
|
||||
if(!is_dir("{$g['varetc_path']}/mpd-vpn"))
|
||||
mkdir("{$g['varetc_path']}/mpd-vpn");
|
||||
|
||||
if ($g['booting']) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user