source: branches/1.2/workflow/inc/local/functions/function.wf_include.php @ 1349

Revision 1349, 438 bytes checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • 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.