function LoadExtension($scope, $extension, $included_constant, $include) { if (strlen($included_constant) == 0 || !defined($included_constant)) { $error = MetabaseLoadClass($include, $this->include_path, $extension); if (strlen($error)) { return $this->SetError($scope, $error); } } return 1; }
function LoadExtension($scope, $extension, $included_constant, $include) { if (strlen($included_constant) == 0 || !defined($included_constant)) { $error = MetabaseLoadClass($include, $this->include_path, $extension); if (strlen($error)) { return $this->SetError($scope, $error); } if (strlen($included_constant) && !defined($included_constant)) { return $this->SetError($scope, "it was not possible to load " . $extension . " extension file " . $include . " using path \"" . $this->include_path . "\""); } } return 1; }