Exemplo n.º 1
0
         $content = base64_decode($content);
         fwrite($fp, $content);
         fclose($fp);
         $sDirectory = $filter->xssFilterHard($sDirectory);
         echo 'saved: ' . $sDirectory;
     }
     break;
 case 'getSessid':
     if(isset($_SESSION['USER_LOGGED'])){
         echo Bootstrap::json_encode(1);
     }else{
         echo Bootstrap::json_encode(0);
     }
     break;
 case 'events':
     $oProcessMap->eventsList($oData->pro_uid, $oData->type);
     break;
     /**
     * returns an array with all Dynaforms Fields
     */
 case 'getVariableList':
     G::LoadClass('xmlfield_InputPM');
     $proUid = isset($_REQUEST['process']) ? $_REQUEST['process'] : '';
     $queryText = isset($_REQUEST['queryText']) ? $_REQUEST['queryText'] : '';
     if ($_REQUEST['type'] == 'system') {
         $isSystem = true;
     } else {
         $isSystem = false;
     }
     if ($_REQUEST['type'] == 'all') {
         $aFields = getDynaformsVars($proUid);