<script>
var SID_ARG_2ND = '';
var WCF_PATH = '{@$__wcf->getPath()}';
+ var WSC_IS_ACP = true;
var SECURITY_TOKEN = '{@SECURITY_TOKEN}';
var LANGUAGE_ID = {@$__wcf->getLanguage()->languageID};
var TIME_NOW = {@TIME_NOW};
this._options.url = Core.convertLegacyUrl(this._options.url);
if (this._options.url.indexOf('index.php') === 0) {
- this._options.url = WCF_PATH + this._options.url;
+ this._options.url = WCF_PATH + (window.WSC_IS_ACP === true ? 'acp/' : '') + this._options.url;
}
if (this._options.pinData) {