Changeset 1240


Ignore:
Timestamp:
07/31/09 15:49:04 (15 years ago)
Author:
niltonneto
Message:

Ticket #593 - Verificação de ambiente na entrada do workflow.

Location:
branches/2.0/workflow
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/workflow/inc/class.workflow_smarty.inc.php

    r795 r1240  
    8080 
    8181                /* define some directories */ 
    82                 $smartyDirectory = isset($_SESSION['phpgw_info']['workflow']['vfs_basedir']) ? 
    83                         $_SESSION['phpgw_info']['workflow']['vfs_basedir'] . '/workflow/smarty': 
    84                         $GLOBALS['phpgw_info']['server']['files_dir'] . '/workflow/smarty'; 
     82                $workflowHomeDirectory = isset($_SESSION['phpgw_info']['workflow']['vfs_basedir']) ? 
     83                        $_SESSION['phpgw_info']['workflow']['vfs_basedir'] . '/workflow': 
     84                        $GLOBALS['phpgw_info']['server']['files_dir'] . '/workflow'; 
     85                $smartyDirectory = $workflowHomeDirectory . '/smarty'; 
    8586                $templateSet = isset($_SESSION['phpgw_info']['workflow']['server']['template_set']) ? 
    8687                        $_SESSION['phpgw_info']['workflow']['server']['template_set'] : 
     
    9293                /* list of directories used by the Smarty Template Engine */ 
    9394                $directories = array( 
     95                        'home' => $workflowHomeDirectory, 
    9496                        'main' => $smartyDirectory, 
    9597                        'template' => array( 
Note: See TracChangeset for help on using the changeset viewer.