Compare commits
4 Commits
fcf7d60a93
...
production
| Author | SHA1 | Date | |
|---|---|---|---|
| 1879944b77 | |||
| beb540d11a | |||
| 3f000d95ea | |||
| 5a91eb53a2 |
+4
-1
@@ -45,6 +45,7 @@ class DecWeb {
|
|||||||
|
|
||||||
if ($this->settings->count() === 0) {
|
if ($this->settings->count() === 0) {
|
||||||
|
|
||||||
|
$this->sendWebHookAlert("Notifying Admin...", "DecWebSync : Unable to initialize settings");
|
||||||
error_log("DecWebSync : Unable to initialize settings");
|
error_log("DecWebSync : Unable to initialize settings");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
@@ -1089,7 +1090,6 @@ class DecWeb {
|
|||||||
|
|
||||||
$this->log("Migrating Purchased Services from decweb");
|
$this->log("Migrating Purchased Services from decweb");
|
||||||
|
|
||||||
// $this->realestatedatainc_connection->exec("TRUNCATE TABLE usersubscriptions");
|
|
||||||
$this->realestatedatainc_connection->exec("delete from usersubscriptions where usersubscription_user != 1");
|
$this->realestatedatainc_connection->exec("delete from usersubscriptions where usersubscription_user != 1");
|
||||||
|
|
||||||
$purchasedservices = $this->getPurchasedServices();
|
$purchasedservices = $this->getPurchasedServices();
|
||||||
@@ -1143,6 +1143,9 @@ class DecWeb {
|
|||||||
'Advanced' => 7,
|
'Advanced' => 7,
|
||||||
'Basic' => 11,
|
'Basic' => 11,
|
||||||
],
|
],
|
||||||
|
'BusinessFactsPremium' => [
|
||||||
|
'Advanced' => 10,
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
$subscription_serial = $subscription_map[$legacy_subscription_name][$legacy_service_level] ?? null;
|
$subscription_serial = $subscription_map[$legacy_subscription_name][$legacy_service_level] ?? null;
|
||||||
|
|||||||
+6
-6
@@ -17,16 +17,16 @@
|
|||||||
|
|
||||||
<!-- DEC-International (decweb) MySQL Database -->
|
<!-- DEC-International (decweb) MySQL Database -->
|
||||||
|
|
||||||
<!--<DECDatabaseServer>192.168.1.190</DECDatabaseServer>-->
|
<DECDatabaseServer>192.168.1.190</DECDatabaseServer>
|
||||||
<DECDatabaseServer>localhost</DECDatabaseServer>
|
<!--<DECDatabaseServer>localhost</DECDatabaseServer>-->
|
||||||
<DECDatabase>decweb</DECDatabase>
|
<DECDatabase>decweb</DECDatabase>
|
||||||
<DECDatabaseUser>decuser</DECDatabaseUser>
|
<DECDatabaseUser>decuser</DECDatabaseUser>
|
||||||
<DECDatabasePassword>hype23dec</DECDatabasePassword>
|
<DECDatabasePassword>hype23dec</DECDatabasePassword>
|
||||||
|
|
||||||
<!-- RealEstateDataInc Database Credentials -->
|
<!-- RealEstateDataInc Database Credentials -->
|
||||||
|
|
||||||
<!--<DatabaseServer>192.168.1.190</DatabaseServer>-->
|
<DatabaseServer>192.168.1.190</DatabaseServer>
|
||||||
<DatabaseServer>localhost</DatabaseServer>
|
<!--<DatabaseServer>localhost</DatabaseServer>-->
|
||||||
<DatabaseName>realestatedatainc</DatabaseName>
|
<DatabaseName>realestatedatainc</DatabaseName>
|
||||||
<DatabaseUser>ddruser</DatabaseUser>
|
<DatabaseUser>ddruser</DatabaseUser>
|
||||||
<DatabasePassword>hype23decdr</DatabasePassword>
|
<DatabasePassword>hype23decdr</DatabasePassword>
|
||||||
@@ -48,8 +48,8 @@
|
|||||||
|
|
||||||
<!-- Environment -->
|
<!-- Environment -->
|
||||||
|
|
||||||
<!--<Environment>Development</Environment>-->
|
<Environment>Development</Environment>
|
||||||
<Environment>Production</Environment>
|
<!--<Environment>Production</Environment>-->
|
||||||
<Availability>Available</Availability>
|
<Availability>Available</Availability>
|
||||||
<Logging>On</Logging>
|
<Logging>On</Logging>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user