示例#1
0
}
/**
 * The variable is a global variable and can be called in each class
 * and function which are used with this application.
 *
 * @var $appEngine \svnadmin\core\Engine
 * @global $appEngine \svnadmin\core\Engine
 * @deprecated No longer use this global variable!
 */
$appEngine = \svnadmin\core\Engine::getInstance();
/**
 * Global object to translate strings into different languages.
 *
 * @global IF_Translator
 */
$appTR = \IF_Translator::getInstance();
$appTR->setTranslationDirectory($appEngine->getConfig()->getValue("Translation", "Directory"));
/**
 * The template of the current opened page.
 * It supports translations and ACL's.
 *
 * @global IF_Template
 */
$appTemplate = new \IF_Template();
$cfg = $appEngine->getConfig();
/**
 * User view provider.
 */
if ($cfg->getValue("Engine:Providers", "UserViewProviderType") == "passwd") {
    include_once $ifcorelib_path . "IF_HtPasswd.class.php";
    include_once "./classes/providers/PasswdUserProvider.class.php";