Selaa lähdekoodia

Fix. Create database scheme before trying insert record to `v_database` (#2965)

Problem that `create_database_pgsql` does not create actual scheme
but `create_odbc_database_connection` try insert record to v_database and
installation fails.
Alexey Melnichuk 7 vuotta sitten
vanhempi
commit
5cfdb5f61a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/install/resources/classes/install_fusionpbx.php

+ 1 - 1
core/install/resources/classes/install_fusionpbx.php

@@ -378,7 +378,7 @@ include "root.php";
 			//add the database structure
 			//add the database structure
 				require_once "resources/classes/schema.php";
 				require_once "resources/classes/schema.php";
 				$schema = new schema;
 				$schema = new schema;
-				//echo $schema->schema();
+				echo $schema->schema();
 
 
 			//get the contents of the sql file
 			//get the contents of the sql file
 				if (file_exists('/usr/share/examples/fusionpbx/sql/pgsql.sql')){
 				if (file_exists('/usr/share/examples/fusionpbx/sql/pgsql.sql')){