Path of third party, report tables, triggers

This commit is contained in:
hjonathan
2017-08-04 11:54:39 -04:00
parent 53f1350a89
commit 3a8194a412
5 changed files with 8 additions and 14 deletions

View File

@@ -57,6 +57,7 @@
"thirdparty/jsmin/jsmin.php", "thirdparty/jsmin/jsmin.php",
"thirdparty/libchart/classes/", "thirdparty/libchart/classes/",
"thirdparty/pear", "thirdparty/pear",
"thirdparty/html2ps_pdf",
"rbac/engine/classes/" "rbac/engine/classes/"
], ],
"files": [ "files": [

View File

@@ -22,7 +22,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
import("org.active-link.doc.Method");
/** /**
* PHPClass class provides a structural definition for a class * PHPClass class provides a structural definition for a class

View File

@@ -811,20 +811,12 @@ class ReportTables
*/ */
public function tableExist () public function tableExist ()
{ {
/*
$bExists = true;
$oConnection = mysql_connect(DB_HOST, DB_USER, DB_PASS);
mysql_select_db(DB_NAME);
$oDataset = mysql_query('SELECT COUNT(*) FROM REPORT_TABLE') || ($bExists = false);
return $bExists;
*/
$bExists = true; $bExists = true;
$sDataBase = 'database_' . strtolower( DB_ADAPTER ); $sDataBase = 'database_' . strtolower( DB_ADAPTER );
if (G::LoadSystemExist( $sDataBase )) {
$oDataBase = new database(); $oDataBase = new database();
$bExists = $oDataBase->reportTableExist(); $bExists = $oDataBase->reportTableExist();
}
return $bExists; return $bExists;
} }

View File

@@ -37,7 +37,9 @@
* *
* @package workflow.engine.classes.model * @package workflow.engine.classes.model
*/ */
class Dynaform extends BaseDynaform class Dynaform
extends BaseDynaform
{ {
/** /**
* This value goes in the content table * This value goes in the content table

View File

@@ -187,7 +187,7 @@ define( 'PATH_GULLIVER_HOME', PATH_TRUNK . 'gulliver' . PATH_SEP );
define( 'PATH_GULLIVER', PATH_GULLIVER_HOME . 'system' . PATH_SEP ); //gulliver system classes define( 'PATH_GULLIVER', PATH_GULLIVER_HOME . 'system' . PATH_SEP ); //gulliver system classes
define( 'PATH_GULLIVER_BIN', PATH_GULLIVER_HOME . 'bin' . PATH_SEP ); //gulliver bin classes define( 'PATH_GULLIVER_BIN', PATH_GULLIVER_HOME . 'bin' . PATH_SEP ); //gulliver bin classes
define( 'PATH_TEMPLATE', PATH_GULLIVER_HOME . 'templates' . PATH_SEP ); define( 'PATH_TEMPLATE', PATH_GULLIVER_HOME . 'templates' . PATH_SEP );
define( 'PATH_THIRDPARTY', PATH_GULLIVER_HOME . 'thirdparty' . PATH_SEP ); define( 'PATH_THIRDPARTY', PATH_TRUNK . 'thirdparty' . PATH_SEP );
define( 'PATH_RBAC', PATH_RBAC_HOME . 'engine' . PATH_SEP . 'classes' . PATH_SEP ); //to enable rbac version 2 define( 'PATH_RBAC', PATH_RBAC_HOME . 'engine' . PATH_SEP . 'classes' . PATH_SEP ); //to enable rbac version 2
define( 'PATH_RBAC_CORE', PATH_RBAC_HOME . 'engine' . PATH_SEP ); define( 'PATH_RBAC_CORE', PATH_RBAC_HOME . 'engine' . PATH_SEP );