source: branches/2.2/workflow/inc/local/functions/function.wf_include.php @ 795

Revision 795, 438 bytes checked in by viani, 15 years ago (diff)

Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.

  • Property svn:executable set to *
Line 
1<?php
2/**
3 * Includes files from the process folder.
4 * @param $file_name File's name to be included.
5 * @return void
6 * @license http://www.gnu.org/copyleft/gpl.html GPL
7 * @package Workflow
8 * @subpackage local
9 * @access public
10 */
11function wf_include( $file_name )
12{
13        if ( strpos($file_name,'..' ) === false )
14        {
15                require_once( GALAXIA_PROCESSES.SEP.$GLOBALS['workflow']['wf_normalized_name'].SEP.'code'.SEP.$file_name );
16        }
17}
18?>
Note: See TracBrowser for help on using the repository browser.