fix path
This commit is contained in:
parent
4cdf8f025f
commit
3f3a8eb04d
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use CRM_TwingleCampaign_ExtensionUtil as E;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use CRM\TwingleCampaign\Models\CustomField as CustomField;
|
use CRM\TwingleCampaign\Models\CustomField as CustomField;
|
||||||
|
|
||||||
include E::path() . '/CRM/Twingle/Upgrader/models/CustomField.php';
|
include_once E::path() . '/CRM/TwingleCampaign/Upgrader/models/CustomField.php';
|
||||||
|
|
||||||
|
|
||||||
class TwingleProject {
|
class TwingleProject {
|
||||||
|
@ -61,7 +61,7 @@ class TwingleProject {
|
||||||
}
|
}
|
||||||
|
|
||||||
$json_file = file_get_contents(E::path() .
|
$json_file = file_get_contents(E::path() .
|
||||||
'/CRM/Twingle/Upgrader/resources/campaigns.json');
|
'/CRM/TwingleCampaign/Upgrader/resources/campaigns.json');
|
||||||
$campaign_info = json_decode($json_file, TRUE);
|
$campaign_info = json_decode($json_file, TRUE);
|
||||||
|
|
||||||
if (!$campaign_info) {
|
if (!$campaign_info) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue