failure: $.proxy(this._failure, this),
showLoadingOverlay: false,
success: $.proxy(this._success, this),
- url: 'index.php?' + $actionName + '/?t=' + SECURITY_TOKEN + SID_ARG_2ND
+ url: 'index.php?' + $actionName + '/&t=' + SECURITY_TOKEN + SID_ARG_2ND
});
},
},
showLoadingOverlay: false,
success: $.proxy(this._success, this),
- url: 'index.php?worker-proxy/?t=' + SECURITY_TOKEN + SID_ARG_2ND
+ url: 'index.php?worker-proxy/&t=' + SECURITY_TOKEN + SID_ARG_2ND
});
this._title = title;
},
this._proxy = new WCF.Action.Proxy({
showLoadingOverlay: false,
success: $.proxy(this._success, this),
- url: 'index.php?worker-proxy/?t=' + SECURITY_TOKEN + SID_ARG_2ND
+ url: 'index.php?worker-proxy/&t=' + SECURITY_TOKEN + SID_ARG_2ND
});
this._redirectURL = redirectURL;
success: $.proxy(function() {
window.location = this._redirectURL;
}, this),
- url: 'index.php?cache-clear/?t=' + SECURITY_TOKEN + SID_ARG_2ND
+ url: 'index.php?cache-clear/&t=' + SECURITY_TOKEN + SID_ARG_2ND
});
}, this)).appendTo($form);
throw new SystemException("Illegal class name '".$controller."'");
}
+ // work-around for WCFSetup
+ if (!PACKAGE_ID) {
+ $parts = explode('-', $controller);
+ $parts = array_map(function($part) {
+ return ucfirst($part);
+ }, $parts);
+ $controller = implode('', $parts);
+ }
+
// find class
$classData = $this->getClassData($controller, 'page', $application);
if ($classData === null) $classData = $this->getClassData($controller, 'form', $application);