Changeset 2338
- Timestamp:
- 03/24/10 15:22:16 (14 years ago)
- Location:
- sandbox/workflow/branches/609
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.JobRunner.inc.php
r2311 r2338 68 68 Factory::getInstance('WorkflowSecurity')->enableSecurityPolicy(); 69 69 70 /** 71 * Since all jobs must run in process mode, e. g. it's user code, 72 * we must enable the security. 73 */ 74 Security::enable(); 75 70 76 if (!file_exists($this->parameters['file'])) 71 77 $this->fail('Arquivo contendo o código do Job não foi encontrado'); -
sandbox/workflow/branches/609/inc/class.WorkflowUtils.inc.php
r2264 r2338 1 1 <?php 2 require_once 'common.inc.php'; 3 2 4 //set here the global DEBUG level which is actually 0 (nothing) or 1 (all) 3 5 if (!defined('_DEBUG')) define('_DEBUG', 0); -
sandbox/workflow/branches/609/inc/class.bo_monitors.inc.php
r2323 r2338 11 11 12 12 require_once('class.bo_ajaxinterface.inc.php'); 13 14 15 /** 16 * DO NOT remove this line. Ever. Somehow, monitors interface will stop working.. 17 */ 18 require_once(PHPGW_API_INC . SEP . 'common_functions.inc.php'); 19 13 20 14 21 /** -
sandbox/workflow/branches/609/inc/class.ui_adminprocesses.inc.php
r2253 r2338 1 1 <?php 2 require_once 'common.inc.php'; 2 3 require_once(dirname(__FILE__) . SEP . 'class.bo_workflow_forms.inc.php'); 3 4 require_once('engine' . SEP . 'config.egw.inc.php'); -
sandbox/workflow/branches/609/inc/class.workflow_processmanager.inc.php
r2323 r2338 33 33 { 34 34 parent::ProcessManager(); 35 $this->workflow_acl = Factory::getInsta ce('workflow_acl');35 $this->workflow_acl = Factory::getInstance('workflow_acl'); 36 36 37 37 /* allow regular users to see the process graph */ -
sandbox/workflow/branches/609/inc/common.inc.php
r2233 r2338 10 10 \**************************************************************************/ 11 11 12 13 12 /** 14 13 * Server base path. This constant is somewhat simililar to 15 14 * 'PHPGW_SERVER_ROOT'. Nevertheless, there are cases that we 16 15 * access Workflow directly and it must be defined somewhere. 16 * Recently discovered, when we are runnnig jobs HTTP_SERVER_VARS 17 * exported by apache are not available. 18 * Therefore, we are using this workaround here, setting 19 * EGW_SERVER_ROOT based on the location of this file. This constant 20 * should be updated properly every time we move this file. 17 21 * @name EGW_SERVER_ROOT 18 22 */ 19 define('EGW_SERVER_ROOT', $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']); 23 define('EGW_SERVER_ROOT', dirname(dirname(dirname(__FILE__)))); 24 //define('EGW_SERVER_ROOT', $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']); 20 25 21 26 /** -
sandbox/workflow/branches/609/inc/hook_home.inc.php
r2264 r2338 1 1 <?php 2 require_once 'common.inc.php'; 3 2 4 $GLOBALS['phpgw_info']['flags']['currentapp'] = "workflow"; 3 5 if (!isset($_SESSION['phpgw_info']['workflow']['server'])) -
sandbox/workflow/branches/609/lib/factory/WorkflowFactory.php
r2337 r2338 80 80 $this->registerFileInfo('workflow_instance', 'class.workflow_instance.inc.php', 'inc'); 81 81 82 $this->registerFileInfo('bo_monitors', 'class.bo_monitors.inc.php', 'inc'); 83 $this->registerFileInfo('bo_adminaccess', 'class.bo_adminaccess.inc.php', 'inc'); 82 84 $this->registerFileInfo('bo_userinterface', 'class.bo_userinterface.inc.php', 'inc'); 83 85 $this->registerFileInfo('bo_participants', 'class.bo_participants.inc.php', 'inc');
Note: See TracChangeset
for help on using the changeset viewer.