diff --git a/config/tools/users/user_management/settings.inc.php b/config/tools/users/user_management/settings.inc.php index a96d6293..70d14aef 100644 --- a/config/tools/users/user_management/settings.inc.php +++ b/config/tools/users/user_management/settings.inc.php @@ -45,7 +45,7 @@ ), "user_format_func" => array( "default" => "", - "name" => "User Fromat Function", + "name" => "User Format Function", "type" => "textarea", "tip" => "Function that receives the user as input and shall return true if the username matches, or false otherwise", "opt" => "true", diff --git a/web/common/cfg_comm.php b/web/common/cfg_comm.php index 08678347..2d1b6e4f 100644 --- a/web/common/cfg_comm.php +++ b/web/common/cfg_comm.php @@ -25,7 +25,7 @@ function get_proxys_by_assoc_id($my_assoc_id){ - $global="../../../../config/boxes.global.inc.php"; + $global="".__DIR__."/../../config/boxes.global.inc.php"; require($global); $mi_connectors=array();