Skip to content
Snippets Groups Projects
Commit 457060db authored by Armand Bahi's avatar Armand Bahi
Browse files

Merge branch 'master' into next_version

parents 4a400f14 9862a97c
Branches
Tags
No related merge requests found
vas/rest/class/*
vas/rest/class/!*/
vas/rest/class/!*.*
vas/sql/*
vas/sql/!*/
vas/sql/!*.*
#<gtf_subscription [ServerName] [vasDir]>
0 23 * * * "[engineDir]/php/php" "[engineDir]/subscription.php" 1
0 23 * * mon "[engineDir]/php/php" "[engineDir]/subscription.php" 2
0 23 1 * * "[engineDir]/php/php" "[engineDir]/subscription.php" 3
*/5 * * * * "[engineDir]/php/php" "[engineDir]/subscription.php" 4
#</gtf_subscription [ServerName] [vasDir]>
\ No newline at end of file
#<gtf_subscription [SERVER_NAME] [ENGINE_DIR]>
0 23 * * * "[PHP_PATH]" "[ENGINE_DIR]/subscription.php" 1
0 23 * * mon "[PHP_PATH]" "[ENGINE_DIR]/subscription.php" 2
0 23 1 * * "[PHP_PATH]" "[ENGINE_DIR]/subscription.php" 3
*/5 * * * * "[PHP_PATH]" "[ENGINE_DIR]/subscription.php" 4
#</gtf_subscription [ServerName] [ENGINE_DIR]>
#<gtf_message [SERVER_NAME] [MESSAGE_DIR]>
*/1 * * * * "[PHP_PATH]" "[MESSAGE_DIR]/processMessages.php" 4
#</gtf_message [SERVER_NAME] [MESSAGE_DIR]>
\ No newline at end of file
......@@ -141,11 +141,9 @@ class Versions extends Vitis {
$aVersion = explode(".", $sPostgresql);
$bExtension = false;
if ($aVersion[0] >= 9) {
if ($aVersion[1] >= 1) {
if ($aVersion[0] . $aVersion[1] >= 91) {
$bExtension = true;
}
}
if ($bExtension == true) {
$sSql = "SELECT default_version FROM pg_catalog.pg_available_extensions where name = 'postgis';";
$oPDOresult = $this->oConnection->oBd->executeWithParams($sSql, array());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment