<?php

///////////////////////////////////////////////////////////////////////////////////////////////////
// CONFIGURATIONS FOR GLOBAL PATHS ////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

// MENU PATH - this has to be changed to wherever the menu config file is located (normally, it should be in _config/application/";
$CFG['paths']['menu']="_config/application/";

// AMADEUS / BSP DIRS /////////////////////////////////////////////////////////////////////////////

// AMADEUS AIR FILES
$CFG['paths']['amadeus']=$CFG['paths']['files']."amadeus/";

// GALILEO MIR FILES
$CFG['paths']['galileo']=$CFG['paths']['files']."galileo/";

// APOLLO MIR FILES
$CFG['paths']['apollo']=$CFG['paths']['files']."apollo/";

// SABRE IUR FILES
$CFG['paths']['sabre']=$CFG['paths']['files']."sabre/";

// WORLDSPAN TAIR FILES
$CFG['paths']['worldspan']=$CFG['paths']['files']."worldspan/";

// BSP ASCI FILES
$CFG['paths']['bsp']=$CFG['paths']['files']."bsp/";

// XML SERVICES CONFIG
$CFG['paths']['temporary'] = $CFG['paths']['files']."temporary/";


// ADMIN > CONFIG /////////////////////////////////////////////////////////////////////////////////
// XML CONFIG FILES PATH
// TODO: eliminate this; keep the constant
$CFG['paths']['config'] = $CFG['paths']['files']."config/";
define('FILEPATH_APPCONFIGS', $CFG['paths']['files']."config/");

// GENERATED FINAL DOCUMENTS //////////////////////////////////////////////////////////////////////
$CFG['paths']['generatedDocuments']=$CFG['paths']['files']."generatedDocuments/";

// UPLOADED DOCUMENTS EMAIL
$CFG['paths']['uploadedDocumentsEmail'] = $CFG['paths']['files']."uploadedDocumentsEmail/";

// UPLOADED IMAGES ////////////////////////////////////////////////////////////////////////////////
$CFG['paths']['uploadedImages'] = $CFG['paths']['files']."uploadedImages/";

// GENERATED REPORTS //////////////////////////////////////////////////////////////////////////////
$CFG['paths']['generatedReports'] = $CFG['paths']['files']."generatedReports/";
$CFG['paths']['generatedExtraReports'] = $CFG['paths']['files']."generatedExtraReports/";

// UPLOADED CONTRACTS /////////////////////////////////////////////////////////////////////////////
define('FILEPATH_CORPORATE_CONTRACTS', $CFG['paths']['files']."uploadedContracts/corporates/");
define('FILEPATH_SUPPLIER_CONTRACTS', $CFG['paths']['files']."uploadedContracts/suppliers/");


// IMPORTED SERVICES //////////////////////////////////////////////////////////////////////////////
$CFG['paths']['importedReservations'] = $CFG['paths']['files']."importedReservations/";

// IMPORTED DOCUMENTS /////////////////////////////////////////////////////////////////////////////
$CFG['paths']['importedDocuments'] = $CFG['paths']['files']."importedDocuments/";

// TASK FILES /////////////////////////////////////////////////////////////////////////////////////
$CFG['paths']['taskFiles'] = $CFG['paths']['files']."tasks/";
define('FILEPATH_TASKS',  $CFG['paths']['files']."tasks/");

// CORPORATE CONTACTS FILES ///////////////////////////////////////////////////////////////////////
define('FILEPATH_CORPORATE_CONTACTS',  $CFG['paths']['files']."corporateContacts/");

// CUSTOMERS FILES ////////////////////////////////////////////////////////////////////////////////
define('FILEPATH_CUSTOMERS',  $CFG['paths']['files']."customers/");

// SUPPLIER INVOICES FILES ////////////////////////////////////////////////////////////////////////
define('FILEPATH_SUPPLIER_INVOICE_FILES',  $CFG['paths']['files']."supplierInvoiceFiles/");


// EXTERNAL FILE THAT INDICATES THAT THE APPLICATION IS STOPPED (if var is blank, no checking is done)
$CFG['paths']['freezeApplicationFile'] = $CFG['paths']['files']."temporary/freezeApplication.xml";

// store the path where update will log all steps
$CFG['paths']['updaterLogsDir'] = $CFG['paths']['files']."updates/";

// extra locations for cache
$CFG['paths']['quickReportsCache'] = $CFG['paths']['files']."cache/quickReports/";
$CFG['paths']['exportDataCache'] = $CFG['paths']['files']."cache/exportData/";

// EXPORT DATA QUEUE PATH
$CFG['exportData']['queuePath']=$CFG['paths']['files']."exportData/";

// EXPORT LOGS CONTEXT FILES
$CFG['exportData']['logContextFiles'] = $CFG['paths']['files']."exportDataLogContextFiles/";

// EMAIL QUEUE FILES PATH
$CFG['paths']['emailsQueue'] = $CFG['paths']['files']."emailsQueue/";

