SAAS-526: Change prefix from station name to station id
Just seeing if we can get the hosting id from a function in the Billing Controller
This commit is contained in:
parent
ec1c8669c8
commit
b094e59df3
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
require_once 'php-amqplib/amqp.inc';
|
||||
require_once 'BillingController.php';
|
||||
|
||||
class Application_Model_RabbitMq
|
||||
{
|
||||
@ -111,6 +112,8 @@ class Application_Model_RabbitMq
|
||||
// isn't a requirement for cloud storage, but put there as a safeguard, since
|
||||
// all Airtime Pro stations will share the same bucket.
|
||||
$data['station_domain'] = $stationDomain = Application_Model_Preference::GetStationName();
|
||||
Logging::info(BillingController::getClientCurrentAirtimeProduct());
|
||||
$data['file_prefix'] = BillingController::getClientCurrentAirtimeProduct();
|
||||
|
||||
$jsonData = json_encode($data);
|
||||
//self::sendMessage($exchange, 'topic', false, $jsonData, 'airtime-uploads');
|
||||
|
||||
@ -48,6 +48,9 @@ set_include_path(APPLICATION_PATH . '/common' . PATH_SEPARATOR . get_include_pat
|
||||
//Propel classes.
|
||||
set_include_path(APPLICATION_PATH . '/models' . PATH_SEPARATOR . get_include_path());
|
||||
|
||||
//Controllers
|
||||
set_include_path(APPLICATION_PATH . '/controllers' . PATH_SEPARATOR . get_include_path());
|
||||
|
||||
//Controller plugins.
|
||||
set_include_path(APPLICATION_PATH . '/controllers/plugins' . PATH_SEPARATOR . get_include_path());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user