Removing set of references to singletons into main.php, mainInit.php and processList.php

Adding a comment of test in bootstrap.php
This commit is contained in:
user
2012-11-12 16:21:52 -04:00
parent b5c11b4198
commit 395ed9c2f3
4 changed files with 10 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ $G_ID_MENU_SELECTED = 'PROCESSES';
$G_ID_SUB_MENU_SELECTED = '-'; $G_ID_SUB_MENU_SELECTED = '-';
$G_PUBLISH = new Publisher(); $G_PUBLISH = new Publisher();
$oHeadPublisher = & headPublisher::getSingleton(); // $oHeadPublisher = & headPublisher::geecho "TEST"tSingleton();
//$oHeadPublisher->addScriptFile('/jscore/processes/main.js'); //$oHeadPublisher->addScriptFile('/jscore/processes/main.js');
$G_PUBLISH->AddContent( 'view', 'processes/mainLoad' ); $G_PUBLISH->AddContent( 'view', 'processes/mainLoad' );

View File

@@ -22,7 +22,8 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/ */
$oHeadPublisher = & headPublisher::getSingleton(); //$oHeadPublisher = & headPublisher::getSingleton();
G::loadClass( 'configuration' ); G::loadClass( 'configuration' );
$conf = new Configurations(); $conf = new Configurations();
@@ -33,4 +34,3 @@ $oHeadPublisher->addContent( 'processes/main' ); //adding a html file .html.
$oHeadPublisher->assign( 'pageSize', $conf->getEnvSetting( 'casesListRowNumber' ) ); $oHeadPublisher->assign( 'pageSize', $conf->getEnvSetting( 'casesListRowNumber' ) );
G::RenderPage( 'publish', 'extJs' ); G::RenderPage( 'publish', 'extJs' );

View File

@@ -29,7 +29,7 @@ $limit = isset( $_POST['limit'] ) ? $_POST['limit'] : '';
$oProcess = new Process(); $oProcess = new Process();
$memcache = & PMmemcached::getSingleton( SYS_SYS ); //$memcache = & PMmemcached::getSingleton( SYS_SYS );
$memkey = 'no memcache'; $memkey = 'no memcache';
$memcacheUsed = 'not used'; $memcacheUsed = 'not used';

View File

@@ -66,7 +66,6 @@ die;
} }
// Defining RBAC Paths constants // Defining RBAC Paths constants
define( 'PATH_RBAC_HOME', PATH_TRUNK . 'rbac' . PATH_SEP ); define( 'PATH_RBAC_HOME', PATH_TRUNK . 'rbac' . PATH_SEP );
@@ -105,6 +104,12 @@ define( 'PATH_RBAC_MSSQL_DATA', PATH_RBAC_CORE . 'data' . PATH_SEP . 'mssql' . P
define( 'PATH_CONTROLLERS', PATH_CORE . 'controllers' . PATH_SEP ); define( 'PATH_CONTROLLERS', PATH_CORE . 'controllers' . PATH_SEP );
define( 'PATH_SERVICES_REST', PATH_CORE . 'services' . PATH_SEP . 'rest' . PATH_SEP ); define( 'PATH_SERVICES_REST', PATH_CORE . 'services' . PATH_SEP . 'rest' . PATH_SEP );
//TEST
//if($_SERVER['REQUEST_URI'] == "/sysworkflow/en/classic/processes/mainInit")
//{
// echo PATH_TRUNK . "engine/methods/processes/mainInit.php";
//}
// include Gulliver Class // include Gulliver Class
require_once (PATH_GULLIVER . PATH_SEP . 'class.bootstrap.php'); require_once (PATH_GULLIVER . PATH_SEP . 'class.bootstrap.php');