Skip to content
Snippets Groups Projects
Commit 595ba75c authored by Prasad's avatar Prasad
Browse files

Fixed GuardedArray file inclusion to overcome sub-directory path (kcfinder)

parent b9366cef
No related branches found
No related tags found
No related merge requests found
......@@ -998,7 +998,7 @@ function vtlib_addSettingsLink($linkName, $linkURL, $blockName = false) {
/**
* PHP Strict helpers.
*/
require_once "vtlib/Vtiger/Utils/GuardedArray.php";
require_once __DIR__ . "/../../vtlib/Vtiger/Utils/GuardedArray.php"; /* absolute path used to overcome need of chdir in subpaths */
function vtlib_array($data = null) {
return new Vtiger_GuardedArray($data);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment