Commit 882e964eca4e01ba608ea087575ffec497c8f2ac

Authored by nbm
1 parent 53a56ff4

Start testing the new proxy code, and turn cache grind on for testing.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5246 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 2 deletions
lib/ktentity.inc
@@ -33,7 +33,7 @@ $_STOPCACHING = array(); @@ -33,7 +33,7 @@ $_STOPCACHING = array();
33 33
34 require_once(KT_LIB_DIR . '/cache/cache.inc.php'); 34 require_once(KT_LIB_DIR . '/cache/cache.inc.php');
35 35
36 -DEFINE("EVIL_CACHE_GRIND", false); 36 +DEFINE("EVIL_CACHE_GRIND", true);
37 37
38 class KTEntity { 38 class KTEntity {
39 var $_bUsePearError = false; 39 var $_bUsePearError = false;
@@ -601,7 +601,7 @@ class KTEntityUtil { @@ -601,7 +601,7 @@ class KTEntityUtil {
601 } 601 }
602 602
603 function &get($sClassName, $iId) { 603 function &get($sClassName, $iId) {
604 - /* 604 + /* */
605 $sProxyClass = KTEntityUtil::_getProxyClass($sClassName); 605 $sProxyClass = KTEntityUtil::_getProxyClass($sClassName);
606 $oObject =& new $sProxyClass($iId); 606 $oObject =& new $sProxyClass($iId);
607 $res = $oObject->getId(); 607 $res = $oObject->getId();