if($pluginM->getId('core')==0) { $idNewPlugin = $pluginM->create('core'); $plugin = new plugin($idNewPlugin); $plugin->updateActivated(1); } else { //TODO } */ // // Add tables $tableM = new tableManager(); if ($tableM->getId('kb_doc') == 0) { $tableM->create('kb_doc'); } if ($tableM->getId('kb_doc_version') == 0) { $tableM->create('kb_doc_version'); } if ($tableM->getId('kb_doc_sources') == 0) { $tableM->create('kb_doc_sources'); } if ($tableM->getId('kb_doc_files') == 0) { $tableM->create('kb_doc_files'); } if ($tableM->getId('kb_doc_commit') == 0) { $tableM->create('kb_doc_commit'); } if ($tableM->getId('kb_doc_authors') == 0) { $tableM->create('kb_doc_authors');
$transM->create($pgId, $langArray['de_DE'], $index, 'TODO', $comment); } if ($transM->getId($pgId, $langArray['it_IT'], $index) == 0) { $transM->create($pgId, $langArray['it_IT'], $index, 'TODO', $comment); } echo '<BR><BR><a href="setup.php?s=100"><span class="icon iconfa-stackoverflow"> Finalize setup operation</a>'; break; case 22: echo ' <h3>Step 4/6 - Fill the primary tables</h3> '; // Add default table echo ' - Fill tables table<BR>'; $tableM = new tableManager(); if ($tableM->getId('core_plugins') == 0) { $tableM->create('core_plugins'); } if ($tableM->getId('core_tables') == 0) { $tableM->create('core_tables'); } if ($tableM->getId('core_objects') == 0) { $tableM->create('core_objects'); } if ($tableM->getId('core_user_auths') == 0) { $tableM->create('core_user_auths'); } if ($tableM->getId('core_user_auth_methods') == 0) { $tableM->create('core_user_auth_methods'); } if ($tableM->getId('core_users') == 0) { $tableM->create('core_users');
if($pluginM->getId('core')==0) { $idNewPlugin = $pluginM->create('core'); $plugin = new plugin($idNewPlugin); $plugin->updateActivated(1); } else { //TODO } */ // // Add tables $tableM = new tableManager(); if ($tableM->getId('cmdb_environments') == 0) { $tableM->create('cmdb_environments'); } if ($tableM->getId('cmdb_projects') == 0) { $tableM->create('cmdb_projects'); } if ($tableM->getId('cmdb_devices') == 0) { $tableM->create('cmdb_devices'); } if ($tableM->getId('cmdb_dev_pro_env_map') == 0) { $tableM->create('cmdb_dev_pro_env_map'); } if ($tableM->getId('cmdb_dev_status') == 0) { $tableM->create('cmdb_dev_status'); } if ($tableM->getId('cmdb_dev_os') == 0) { $tableM->create('cmdb_dev_os');