some changes in projects opening methods in User Interface.

- An menu option "open with classic editor" was added to open new bpmn projects into classic editor
This commit is contained in:
Erik Amaru Ortiz
2014-03-06 17:41:39 -04:00
parent f46be88c81
commit 4eed9dfc48
3 changed files with 29 additions and 34 deletions

View File

@@ -1,16 +0,0 @@
<?php
if (! array_key_exists('pro_uid', $_REQUEST)) {
die('Bad Request: The param "pro_uid" is required!');
}
$proUid = $_GET['pro_uid'];
$bpmnProject = BpmnProjectPeer::retrieveByPK($proUid);
if (is_object($bpmnProject)) {
$url = '../designer?pro_uid=' . $proUid;
} else {
$url = 'processes_Map?PRO_UID=' . $proUid;
}
G::header("location: $url");