Просмотр исходного кода

added load class Schema_TableFactory in TableAcl

Piotr Labudda 10 лет назад
Родитель
Сommit
863017280e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      SE/se-lib/TableAcl.php

+ 1 - 0
SE/se-lib/TableAcl.php

@@ -932,6 +932,7 @@ class TableAcl {
 		if ($this->_schemaLoaded) return;
 		$srvName = $_SERVER['SERVER_NAME'];
 		try {
+			Lib::loadClass('Schema_TableFactory');
 			$this->_schemaClass = Schema_TableFactory::build($this->_name, $this->_db, $srvName);
 		} catch (SchemaException $e) {// hide only schema not found, else re-throw
 			DBG::_('DBG_SCH', '>1', "Exception in Schema_TableFactory::build", $e->getMessage(), __CLASS__, __FUNCTION__, __LINE__);