BUG 10690 "Cuando se introduce algunas paginas no existentes..." SOLVED
- URL no valid no redirects to the 404 page - Solved problem in validation of template - Solved problem, add validation for URL no valid * Available from version ProcessMaker-2.0.46
This commit is contained in:
@@ -710,6 +710,10 @@ if (substr( SYS_COLLECTION, 0, 8 ) === 'gulliver') {
|
||||
if (is_callable( Array ($controllerClass,$controllerAction ) )) {
|
||||
$isControllerCall = true;
|
||||
}
|
||||
|
||||
if (substr(SYS_SKIN, 0, 2) != "ux" && $controllerClass == "main") {
|
||||
$isControllerCall = false;
|
||||
}
|
||||
}
|
||||
if (! $isControllerCall && ! file_exists( $phpFile ) && ! $isRestRequest) {
|
||||
$_SESSION['phpFileNotFound'] = $_SERVER['REQUEST_URI'];
|
||||
|
||||
Reference in New Issue
Block a user