// customized per company version
$path = company_path();
- $file = $path.'/'.$rep;
+ $file = $path.$rep;
if (file_exists($file)) {
// add local include path
- set_include_path($path.PATH_SEPARATOR.get_include_path());
+ set_include_path(dirname($file).PATH_SEPARATOR.get_include_path());
return $file;
}
// file added by active extension modules
return null;
}
-
?>
\ No newline at end of file