Changeset 1484 for trunk/workflow


Ignore:
Timestamp:
10/02/09 09:53:20 (15 years ago)
Author:
viani
Message:

Ticket #671 - Transformada inclusao do header.session condicional.

Location:
trunk/workflow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/controller.php

    r1468 r1484  
    11<?php 
    2         require_once '../header.session.inc.php'; 
     2        if (file_exists('../header.session.inc.php')) { 
     3                require_once '../header.session.inc.php'; 
     4        } 
    35 
    46        /* if there is no session, abort the Ajax call */ 
  • trunk/workflow/inc/common.inc.php

    r1468 r1484  
    11<?php 
    2 require_once dirname(__FILE__) . '/../../header.session.inc.php'; 
     2if (file_exists(dirname(__FILE__) . '/../../header.session.inc.php')) { 
     3        require_once dirname(__FILE__) . '/../../header.session.inc.php'; 
     4} 
    35 
    46/* garante que durante a execução de funções que modificam strings, os 
Note: See TracChangeset for help on using the changeset viewer.