include APP_BASE_PATH . "classes/SettingsManager.php";
include APP_BASE_PATH . "classes/EmailSender.php";
include APP_BASE_PATH . "mysql_error_list.php";
include APP_BASE_PATH . "model/models.inc.php";
$dbLocal = NewADOConnection(APP_CON_STR);
CompanyStructure::SetDatabaseAdapter($dbLocal);
Country::SetDatabaseAdapter($dbLocal);
Province::SetDatabaseAdapter($dbLocal);
CurrencyType::SetDatabaseAdapter($dbLocal);
JobTitle::SetDatabaseAdapter($dbLocal);
ChucVu::SetDatabaseAdapter($dbLocal);
PayGrade::SetDatabaseAdapter($dbLocal);
EmploymentStatus::SetDatabaseAdapter($dbLocal);
Skill::SetDatabaseAdapter($dbLocal);
Education::SetDatabaseAdapter($dbLocal);
Certification::SetDatabaseAdapter($dbLocal);
Language::SetDatabaseAdapter($dbLocal);
Nationality::SetDatabaseAdapter($dbLocal);
Employee::SetDatabaseAdapter($dbLocal);
User::SetDatabaseAdapter($dbLocal);
EmployeeSkill::SetDatabaseAdapter($dbLocal);
EmployeeEducation::SetDatabaseAdapter($dbLocal);
EmployeeCertification::SetDatabaseAdapter($dbLocal);
EmployeeLanguage::SetDatabaseAdapter($dbLocal);
EmergencyContact::SetDatabaseAdapter($dbLocal);
EmployeeDependent::SetDatabaseAdapter($dbLocal);
EmployeeImmigration::SetDatabaseAdapter($dbLocal);
EmployeeSalary::SetDatabaseAdapter($dbLocal);
LeaveType::SetDatabaseAdapter($dbLocal);
LeavePeriod::SetDatabaseAdapter($dbLocal);
WorkDay::SetDatabaseAdapter($dbLocal);