403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2c.hellogtx.com/application/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2c.hellogtx.com/application/Bootstrap.php
<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

    protected function _initCheckWWW()
    {
         $request = $_SERVER['REQUEST_URI'];

			// Normalize multiple slashes
			$clean = preg_replace('#/+#','/',$request);

			// If changed, redirect
			if ($clean !== $request) {
				header("Location: $clean", true, 301);
				exit;
			}
    }
   
    protected function _initAutoload()
    {

        $autoloader = new Zend_Application_Module_Autoloader(array(
            'namespace' => 'Travel',
            'basePath' => dirname(__FILE__),
        ));
        Zend_Controller_Action_HelperBroker::addPrefix('Helper');
        ini_set('session.cookie_lifetime', 86400);
        ini_set('session.gc_maxlifetime', 86400);
        Zend_Session::start();
        date_default_timezone_set("Asia/Kolkata");
    }

    protected function _initControllers()
    {
        $this->bootstrap('frontController');
        $this->_front = $this->getResource('frontController');
        $this->_front->addControllerDirectory(APPLICATION_PATH . '/admin/controllers', 'admin');
    }
		protected function _initDbUtf8()
			{
				$db = $this->getPluginResource('db')->getDbAdapter();
				Zend_Db_Table::setDefaultAdapter($db);
				$db->query("SET NAMES 'utf8mb4'");
			}

    protected function _initMyActionHelpers()
    {

        $this->bootstrap('frontController');
        $layout = Zend_Controller_Action_HelperBroker::getStaticHelper('Layout');
        Zend_Controller_Action_HelperBroker::addHelper($layout);
    }

    public function _initRoutes()
    {

        $CONST_DESTINATION_MASTER = unserialize(CONST_DESTINATION_MASTER);

        // start : get request here
        $this->bootstrap('frontController');
        $front = $this->getResource('frontController');
        $front->setRequest(new Zend_Controller_Request_Http());

        $des = ltrim($front->getRequest()->getRequestUri(), '/');
        //  print_r($_SERVER['SERVER_NAME']s); die('here');
        //  end : get request here 
		 if($_SERVER['SERVER_NAME']=='local.tripees.com' || $_SERVER['SERVER_NAME']=='www.tripees.com'){
		$pageaction='holiday';
		}else{
		$pageaction='index';
		}

        $routerArray = [];

        $routerArray[0] = new Zend_Controller_Router_Route(':cms', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        //            $routerArray[1] = new Zend_Controller_Router_Route(':countryname/:name/:pkgid/:catid/:gtxid/:tourtype/', array('module' => 'detail', 'controller' => 'index', 'action' => 'index'));
        $routerArray[1] = new Zend_Controller_Router_Route('detail/:countryname/:name/', array('module' => 'detail', 'controller' => 'index', 'action' => $pageaction));

        $routerArray[2] = new Zend_Controller_Router_Route('destination/:key', array('module' => 'default', 'controller' => 'index', 'action' => 'destination'));

        //$routerArray[4] = new Zend_Controller_Router_Route('blog/:p', array('module' => 'blog', 'controller' => 'index', 'action' => 'blog-detail'));
        $routerArray[3] = new Zend_Controller_Router_Route(':travid', array('module' => 'travelogue', 'controller' => 'index', 'action' => 'detail'));
        $routerArray[4] = new Zend_Controller_Router_Route('blogs/', array('module' => 'travelogue', 'controller' => 'index', 'action' => 'index'));
        $routerArray[5] = new Zend_Controller_Router_Route('hotels/:name/', array('module' => 'hotels', 'controller' => 'search', 'action' => 'hotel-detail'));
        $routerArray[6] = new Zend_Controller_Router_Route('tour-destination/:des', array('module' => 'tours', 'controller' => 'package', 'action' => 'index'));
        $routerArray[7] = new Zend_Controller_Router_Route('customer/agencycustomerlogin/', array('module' => 'default', 'controller' => 'customer', 'action' => 'agencycustomerlogin'));
        $routerArray[8] = new Zend_Controller_Router_Route('customer/customerlogin/', array('module' => 'default', 'controller' => 'customer', 'action' => 'customerlogin'));
        $routerArray[9] = new Zend_Controller_Router_Route('users/', array('module' => 'users', 'controller' => 'index', 'action' => 'index'));
        $routerArray[10] = new Zend_Controller_Router_Route('detail/index/index-ajax-data', array('module' => 'detail', 'controller' => 'index', 'action' => 'index-ajax-data'));
        $routerArray[11] = new Zend_Controller_Router_Route('detail/index/get-hotel-detail', array('module' => 'detail', 'controller' => 'index', 'action' => 'get-hotel-detail'));

        $routerArray[12] = new Zend_Controller_Router_Route('agentlogin', array('module' => 'agentlogin', 'controller' => 'index', 'action' => 'index'));
        $routerArray[13] = new Zend_Controller_Router_Route('agentlogin/index/agentregistration', array('module' => 'agentlogin', 'controller' => 'index', 'action' => 'agentregistration'));
        $routerArray[14] = new Zend_Controller_Router_Route('admin', array('module' => 'admin', 'controller' => 'index', 'action' => 'index'));
        $routerArray[15] = new Zend_Controller_Router_Route('payment', array('module' => 'payment', 'controller' => 'index', 'action' => 'index'));
        $routerArray[16] = new Zend_Controller_Router_Route('travelogue', array('module' => 'travelogue', 'controller' => 'index', 'action' => 'index'));
        $routerArray[17] = new Zend_Controller_Router_Route('travelogue/:travid', array('module' => 'travelogue', 'controller' => 'index', 'action' => 'detail'));
        $routerArray[18] = new Zend_Controller_Router_Route('destination', array('module' => 'destination', 'controller' => 'index', 'action' => 'index'));
        $routerArray[19] = new Zend_Controller_Router_Route('detail/index/write-session', array('module' => 'detail', 'controller' => 'index', 'action' => 'write-session'));

        $routerArray[20] = new Zend_Controller_Router_Route('tour-destination/domestic-tour-packages.html', array('module' => 'destination', 'controller' => 'index', 'action' => 'domestic-destination'));
		  $routerArray[320] = new Zend_Controller_Router_Route('domestic-tour-packages', array('module' => 'destination', 'controller' => 'index', 'action' => 'domestic-destination'));
        $routerArray[420] = new Zend_Controller_Router_Route('international-tour-packages', array('module' => 'destination', 'controller' => 'index', 'action' => 'international-destination'));
        $routerArray[21] = new Zend_Controller_Router_Route('tour-destination/international-tour-packages.html', array('module' => 'destination', 'controller' => 'index', 'action' => 'international-destination'));
        $routerArray[23] = new Zend_Controller_Router_Route('tour-destination/package/:getsearchdata', array('module' => 'tours', 'controller' => 'package', 'action' => 'getsearchdata'));
        $routerArray[24] = new Zend_Controller_Router_Route('tour-destination/category/:cat', array('module' => 'tours', 'controller' => 'package', 'action' => 'index'));

        $routerArray[25] = new Zend_Controller_Router_Route('thanks.html', array('module' => 'default', 'controller' => 'index', 'action' => 'thanks'));
        $routerArray[26] = new Zend_Controller_Router_Route('deals', array('module' => 'default', 'controller' => 'index', 'action' => 'deals'));
        $routerArray[27] = new Zend_Controller_Router_Route('activities/:act', array('module' => 'tours', 'controller' => 'activity', 'action' => 'index'));
        $routerArray[28] = new Zend_Controller_Router_Route('activities/:des/:actname', array('module' => 'activities', 'controller' => 'index', 'action' => 'index'));
        $routerArray[29] = new Zend_Controller_Router_Route('offer.html', array('module' => 'default', 'controller' => 'index', 'action' => 'offer'));
        $routerArray[30] = new Zend_Controller_Router_Route('visa', array('module' => 'visa', 'controller' => 'index', 'action' => 'index'));
        $routerArray[31] = new Zend_Controller_Router_Route('visa/:desname', array('module' => 'visa', 'controller' => 'visa', 'action' => 'index'));
        $routerArray[32] = new Zend_Controller_Router_Route('visa/:desvisa/:visaname', array('module' => 'visa', 'controller' => 'visa', 'action' => 'visa-details'));
        $routerArray[33] = new Zend_Controller_Router_Route('activity', array('module' => 'activities', 'controller' => 'index', 'action' => 'home'));

        /*         * ======= Flight route  ========** */
        $routerArray[34] = new Zend_Controller_Router_Route('flight', array('module' => 'default', 'controller' => 'flight', 'action' => 'index'));
        $routerArray[35] = new Zend_Controller_Router_Route('flight/:flight-search', array('module' => 'default', 'controller' => 'flight', 'action' => 'flight-search'));
        $routerArray[36] = new Zend_Controller_Router_Route('flight/getflightsearch', array('module' => 'default', 'controller' => 'flightnew', 'action' => 'getflightsearch'));
        $routerArray[37] = new Zend_Controller_Router_Route('flight/flightsearchdata', array('module' => 'default', 'controller' => 'flight', 'action' => 'flightsearchdata'));
        $routerArray[38] = new Zend_Controller_Router_Route('flight/getflightfarerules', array('module' => 'default', 'controller' => 'flight', 'action' => 'getflightfarerules'));
        $routerArray[39] = new Zend_Controller_Router_Route('flight/book-noow', array('module' => 'default', 'controller' => 'flight', 'action' => 'book-noow'));
        $routerArray[40] = new Zend_Controller_Router_Route('flight/review/:traceId', array('module' => 'default', 'controller' => 'flight', 'action' => 'review'));
        $routerArray[41] = new Zend_Controller_Router_Route('flight/travellers/:traceId', array('module' => 'default', 'controller' => 'flight', 'action' => 'travellers'));
        $routerArray[42] = new Zend_Controller_Router_Route('flight/searchcutomer', array('module' => 'default', 'controller' => 'flight', 'action' => 'searchcutomer'));
        $routerArray[43] = new Zend_Controller_Router_Route('flight/save-passenger-details', array('module' => 'default', 'controller' => 'flight', 'action' => 'save-passenger-details'));
        $routerArray[44] = new Zend_Controller_Router_Route('flight/add-onn-service/:traceId', array('module' => 'default', 'controller' => 'flight', 'action' => 'add-onn-service'));
        $routerArray[45] = new Zend_Controller_Router_Route('flight/load-add-ons', array('module' => 'default', 'controller' => 'flight', 'action' => 'load-add-ons'));
        $routerArray[46] = new Zend_Controller_Router_Route('flight/getflightfarequote', array('module' => 'default', 'controller' => 'flight', 'action' => 'getflightfarequote'));
        $routerArray[47] = new Zend_Controller_Router_Route('flight/continue-accept', array('module' => 'default', 'controller' => 'flight', 'action' => 'continue-accept'));
        $routerArray[48] = new Zend_Controller_Router_Route('flight/updatefare', array('module' => 'default', 'controller' => 'flight', 'action' => 'updatefare'));
        $routerArray[49] = new Zend_Controller_Router_Route('flight/book-flight/:traceId/:code', array('module' => 'default', 'controller' => 'flight', 'action' => 'book-flight'));
        $routerArray[50] = new Zend_Controller_Router_Route('flight/booking-confirmed', array('module' => 'default', 'controller' => 'flight', 'action' => 'booking-confirmed'));
        $routerArray[51] = new Zend_Controller_Router_Route('flight/pay-now/:traceId', array('module' => 'default', 'controller' => 'flight', 'action' => 'pay-now'));
        $routerArray[52] = new Zend_Controller_Router_Route('flight/check-payment', array('module' => 'default', 'controller' => 'flight', 'action' => 'check-payment'));
        $routerArray[53] = new Zend_Controller_Router_Route('flight/e-ticket/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'e-ticket'));
        $routerArray[54] = new Zend_Controller_Router_Route('flight/invoice/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'invoice'));
        $routerArray[55] = new Zend_Controller_Router_Route('flight/viewmore', array('module' => 'default', 'controller' => 'flight', 'action' => 'viewmore'));
        $routerArray[56] = new Zend_Controller_Router_Route('flight/view-details', array('module' => 'default', 'controller' => 'flight', 'action' => 'view-details'));
        $routerArray[57] = new Zend_Controller_Router_Route('flight/view-details-pending', array('module' => 'default', 'controller' => 'flight', 'action' => 'view-details-pending'));
        $routerArray[58] = new Zend_Controller_Router_Route('flight/cancel-ticket/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'cancel-ticket'));
        $routerArray[59] = new Zend_Controller_Router_Route('flight/amendment-details', array('module' => 'default', 'controller' => 'flight', 'action' => 'amendment-details'));
        $routerArray[60] = new Zend_Controller_Router_Route('flight/removebaggage', array('module' => 'default', 'controller' => 'flight', 'action' => 'removebaggage'));
        $routerArray[61] = new Zend_Controller_Router_Route('flight/submit-amendment/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'submit-amendment'));
        $routerArray[62] = new Zend_Controller_Router_Route('car/search-results/:TraceId', array('module' => 'car', 'controller' => 'index', 'action' => 'search-results'));
        $routerArray[63] = new Zend_Controller_Router_Route('customer/google-authentication', array('module' => 'default', 'controller' => 'customer', 'action' => 'google-authentication'));
        $routerArray[64] = new Zend_Controller_Router_Route('customer/tripee-register', array('module' => 'default', 'controller' => 'customer', 'action' => 'tripee-register'));

        $routerArray[65] = new Zend_Controller_Router_Route('flight/seatmap', array('module' => 'default', 'controller' => 'flight', 'action' => 'seatmap'));
        $routerArray[66] = new Zend_Controller_Router_Route('flight/continuewithseatmap', array('module' => 'default', 'controller' => 'flight', 'action' => 'continuewithseatmap'));

        $routerArray[67] = new Zend_Controller_Router_Route('flight/getseatpage', array('module' => 'default', 'controller' => 'flight', 'action' => 'getseatpage'));
        $routerArray[68] = new Zend_Controller_Router_Route('flight/save-gst-details', array('module' => 'default', 'controller' => 'flight', 'action' => 'save-gst-details'));

        $routerArray[69] = new Zend_Controller_Router_Route('car/car-booking/:carId/:traceId', array('module' => 'car', 'controller' => 'index', 'action' => 'car-booking'));
        $routerArray[70] = new Zend_Controller_Router_Route('flight/payment-failed/:TraceId', array('module' => 'default', 'controller' => 'flight', 'action' => 'payment-failed'));
        $routerArray[71] = new Zend_Controller_Router_Route('car/booking-cancel', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-cancel'));
        $routerArray[72] = new Zend_Controller_Router_Route('car/booking-confirm', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-confirm'));
        $routerArray[73] = new Zend_Controller_Router_Route('car/pay-now/', array('module' => 'car', 'controller' => 'index', 'action' => 'pay-now'));
        $routerArray[74] = new Zend_Controller_Router_Route('car/check-payment/', array('module' => 'car', 'controller' => 'index', 'action' => 'check-payment'));
        $routerArray[75] = new Zend_Controller_Router_Route('car/search-cutomer/', array('module' => 'car', 'controller' => 'index', 'action' => 'search-cutomer'));
        $routerArray[76] = new Zend_Controller_Router_Route('flight/getsetcity/', array('module' => 'default', 'controller' => 'flight', 'action' => 'getsetcity'));
        $routerArray[77] = new Zend_Controller_Router_Route('car/', array('module' => 'car', 'controller' => 'index', 'action' => 'index'));
        $routerArray[78] = new Zend_Controller_Router_Route('car/save-passenger-details', array('module' => 'car', 'controller' => 'index', 'action' => 'save-passenger-details'));
        /* Offers */
        $routerArray[79] = new Zend_Controller_Router_Route('offers', array('module' => 'default', 'controller' => 'index', 'action' => 'offers'));
        /* services */
        $routerArray[80] = new Zend_Controller_Router_Route('services', array('module' => 'services', 'controller' => 'index', 'action' => 'index'));
        $routerArray[81] = new Zend_Controller_Router_Route('services/:id', array('module' => 'services', 'controller' => 'index', 'action' => 'detail'));
        $routerArray[82] = new Zend_Controller_Router_Route('flight/farebreackupmobile', array('module' => 'default', 'controller' => 'flight', 'action' => 'farebreackupmobile'));
        $routerArray[83] = new Zend_Controller_Router_Route('car/e-ticket/:bookingId', array('module' => 'car', 'controller' => 'index', 'action' => 'e-ticket'));
        $routerArray[84] = new Zend_Controller_Router_Route('car/invoice/:bookingId', array('module' => 'car', 'controller' => 'index', 'action' => 'invoice'));
        $routerArray[85] = new Zend_Controller_Router_Route('car/cancel-ticket/:bookingId', array('module' => 'car', 'controller' => 'index', 'action' => 'cancel-ticket'));
        $routerArray[86] = new Zend_Controller_Router_Route('flight/genrateinvoice', array('module' => 'default', 'controller' => 'flight', 'action' => 'genrateinvoice'));
        $routerArray[87] = new Zend_Controller_Router_Route('detail/index/index-ajax-tab', array('module' => 'detail', 'controller' => 'index', 'action' => 'index-ajax-tab'));
        /* Hotels */
        $routerArray[88] = new Zend_Controller_Router_Route('hotel/hotelsearchdata', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotelsearchdata'));
        $routerArray[89] = new Zend_Controller_Router_Route('hotel/search-results', array('module' => 'hotels', 'controller' => 'index', 'action' => 'search-results'));
        $routerArray[90] = new Zend_Controller_Router_Route('hotel/hotel-booking/:bookingId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-booking'));
        $routerArray[91] = new Zend_Controller_Router_Route('hotel/hotel-review/:bookingId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-review'));
        $routerArray[92] = new Zend_Controller_Router_Route('hotel/hotel-checkout/:bookingId/:code', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-checkout'));
        $routerArray[93] = new Zend_Controller_Router_Route('hotel/hotel-cancelation-plolicy', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-cancelation-plolicy'));
        $routerArray[94] = new Zend_Controller_Router_Route('hotel/hotel-travellers/:bookingId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-travellers'));
        $routerArray[95] = new Zend_Controller_Router_Route('hotel/pay-now/:bookingId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'pay-now'));
        $routerArray[96] = new Zend_Controller_Router_Route('hotel/check-payment', array('module' => 'hotels', 'controller' => 'index', 'action' => 'check-payment'));
        $routerArray[97] = new Zend_Controller_Router_Route('hotel/generate-search-id', array('module' => 'hotels', 'controller' => 'index', 'action' => 'generate-search-id'));
        $routerArray[98] = new Zend_Controller_Router_Route('hotel/get-hotels-list', array('module' => 'hotels', 'controller' => 'index', 'action' => 'get-hotels-list'));
        $routerArray[99] = new Zend_Controller_Router_Route('hotel/booking-confirm/:bookingId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'booking-confirm'));
        $routerArray[100] = new Zend_Controller_Router_Route('hotel/review-hotel', array('module' => 'hotels', 'controller' => 'index', 'action' => 'review-hotel'));
        $routerArray[101] = new Zend_Controller_Router_Route('hotel/e-ticket/:traceId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'e-ticket'));
        $routerArray[102] = new Zend_Controller_Router_Route('hotel/invoice/:traceId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'invoice'));
        $routerArray[103] = new Zend_Controller_Router_Route('hotel/payment-failed/:TraceId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'payment-failed'));
        $routerArray[104] = new Zend_Controller_Router_Route('hotel/hotel-city', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-city'));
        $routerArray[105] = new Zend_Controller_Router_Route('hotel/hotel-view-map/:HotelTraceId/:traceId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-view-map'));
        $routerArray[106] = new Zend_Controller_Router_Route('hotel', array('module' => 'hotels', 'controller' => 'index', 'action' => 'index'));

        $routerArray[107] = new Zend_Controller_Router_Route('holidays', array('module' => 'holidays', 'controller' => 'index', 'action' => 'index'));
        $routerArray[108] = new Zend_Controller_Router_Route('24-7-support', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[109] = new Zend_Controller_Router_Route('privacy-policy', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[110] = new Zend_Controller_Router_Route('about-us', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[111] = new Zend_Controller_Router_Route('contact-us', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[112] = new Zend_Controller_Router_Route('terms-conditions', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[113] = new Zend_Controller_Router_Route('director-s-desk', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[114] = new Zend_Controller_Router_Route('incredible-india', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));


        $routerArray[115] = new Zend_Controller_Router_Route('flight/book-now-multi', array('module' => 'default', 'controller' => 'flight', 'action' => 'book-now-multi'));
        $routerArray[116] = new Zend_Controller_Router_Route('hotel/geolocation', array('module' => 'hotels', 'controller' => 'index', 'action' => 'geolocation'));
        $routerArray[117] = new Zend_Controller_Router_Route('flight/makepayment', array('module' => 'default', 'controller' => 'flight', 'action' => 'makepayment'));
        $routerArray[118] = new Zend_Controller_Router_Route('career', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[119] = new Zend_Controller_Router_Route('bus/', array('module' => 'bus', 'controller' => 'index', 'action' => 'index'));
        $routerArray[120] = new Zend_Controller_Router_Route('bus/search-results/', array('module' => 'bus', 'controller' => 'index', 'action' => 'search-results'));
        $routerArray[121] = new Zend_Controller_Router_Route('bus/bus-booking', array('module' => 'bus', 'controller' => 'index', 'action' => 'bus-booking'));
        $routerArray[122] = new Zend_Controller_Router_Route('bus/booking-cancel', array('module' => 'bus', 'controller' => 'index', 'action' => 'booking-cancel'));
        $routerArray[123] = new Zend_Controller_Router_Route('bus/booking-confirm', array('module' => 'bus', 'controller' => 'index', 'action' => 'booking-confirm'));
        $routerArray[124] = new Zend_Controller_Router_Route('bus/pay-now/', array('module' => 'bus', 'controller' => 'index', 'action' => 'pay-now'));
        $routerArray[125] = new Zend_Controller_Router_Route('bus/check-payment', array('module' => 'bus', 'controller' => 'index', 'action' => 'check-payment'));
        $routerArray[126] = new Zend_Controller_Router_Route('bus/search-cutomer/', array('module' => 'bus', 'controller' => 'index', 'action' => 'search-cutomer'));
        $routerArray[127] = new Zend_Controller_Router_Route('bus/bus-thanku/', array('module' => 'bus', 'controller' => 'index', 'action' => 'busthanku'));

        $routerArray[128] = new Zend_Controller_Router_Route('bus-route', array('module' => 'bus', 'controller' => 'index', 'action' => 'index'));
        $routerArray[129] = new Zend_Controller_Router_Route('bus/getbuslist', array('module' => 'bus', 'controller' => 'index', 'action' => 'getbuslist'));
        $routerArray[130] = new Zend_Controller_Router_Route('bus/index/tripdetails', array('module' => 'bus', 'controller' => 'index', 'action' => 'tripdetails'));
        $routerArray[131] = new Zend_Controller_Router_Route('bus/travellers/:TraceId', array('module' => 'bus', 'controller' => 'index', 'action' => 'travellers'));
        $routerArray[132] = new Zend_Controller_Router_Route('bus/paynow/:TraceId', array('module' => 'bus', 'controller' => 'index', 'action' => 'paynow'));
        $routerArray[133] = new Zend_Controller_Router_Route('bus/save-passenger', array('module' => 'bus', 'controller' => 'index', 'action' => 'save-passenger'));
        $routerArray[134] = new Zend_Controller_Router_Route('bus/bookbus/:TraceId/:code', array('module' => 'bus', 'controller' => 'index', 'action' => 'bookbus'));
        $routerArray[135] = new Zend_Controller_Router_Route('bus/getbuscity', array('module' => 'bus', 'controller' => 'index', 'action' => 'getbuscity'));
        $routerArray[136] = new Zend_Controller_Router_Route('bus/booknow', array('module' => 'bus', 'controller' => 'index', 'action' => 'booknow'));
        $routerArray[137] = new Zend_Controller_Router_Route('bus/review/:TraceId', array('module' => 'bus', 'controller' => 'index', 'action' => 'review'));
        $routerArray[138] = new Zend_Controller_Router_Route('bus/booking-confirmed/:TraceId', array('module' => 'bus', 'controller' => 'index', 'action' => 'booking-confirmed'));
        $routerArray[139] = new Zend_Controller_Router_Route('bus/e-ticket/:TraceId', array('module' => 'bus', 'controller' => 'index', 'action' => 'e-ticket'));
        $routerArray[140] = new Zend_Controller_Router_Route('car/make-booking', array('module' => 'car', 'controller' => 'index', 'action' => 'make-booking'));
        $routerArray[141] = new Zend_Controller_Router_Route('car/booking/:carId/:traceId', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-car'));
        $routerArray[142] = new Zend_Controller_Router_Route('media', array('module' => 'default', 'controller' => 'index', 'action' => 'media'));
        $routerArray[143] = new Zend_Controller_Router_Route('bus/invoice/:bookingId', array('module' => 'bus', 'controller' => 'index', 'action' => 'invoice'));
        $routerArray[144] = new Zend_Controller_Router_Route('flight/coupon-apply', array('module' => 'default', 'controller' => 'flight', 'action' => 'coupon-apply'));
        $routerArray[145] = new Zend_Controller_Router_Route('car/booking-info/:traceId', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-info'));
        $routerArray[146] = new Zend_Controller_Router_Route('car/booking-ticket/:traceId', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-ticket'));
        $routerArray[147] = new Zend_Controller_Router_Route('testimonial-list', array('module' => 'testimonial', 'controller' => 'index', 'action' => 'index'));
        $routerArray[148] = new Zend_Controller_Router_Route('car-callback-driver-assigned', array('module' => 'car', 'controller' => 'index', 'action' => 'car-callback-driver-assigned'));
        $routerArray[149] = new Zend_Controller_Router_Route('car-callback-booking-id-assigned', array('module' => 'car', 'controller' => 'index', 'action' => 'car-callback-booking-id-assigned'));
        $routerArray[150] = new Zend_Controller_Router_Route('car-callback-booking-cancellation', array('module' => 'car', 'controller' => 'index', 'action' => 'car-callback-booking-cancellation'));
        $routerArray[151] = new Zend_Controller_Router_Route('car-callback-trip-completed', array('module' => 'car', 'controller' => 'index', 'action' => 'car-callback-trip-completed'));
        $routerArray[152] = new Zend_Controller_Router_Route('car/booking-details', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-details'));
        $routerArray[153] = new Zend_Controller_Router_Route('car/booking-cancel', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-cancel'));
        $routerArray[154] = new Zend_Controller_Router_Route('car/booking-canceled/:traceId', array('module' => 'car', 'controller' => 'index', 'action' => 'booking-canceled'));
        $routerArray[155] = new Zend_Controller_Router_Route('sitemap.xml', array('module' => 'default', 'controller' => 'index', 'action' => 'sitemap'));
        $routerArray[156] = new Zend_Controller_Router_Route('a-members-only-wholesale-booking-site', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[157] = new Zend_Controller_Router_Route('general-cancellation-policy', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[158] = new Zend_Controller_Router_Route('car/token', array('module' => 'car', 'controller' => 'index', 'action' => 'token'));
        $routerArray[159] = new Zend_Controller_Router_Route('covid', array('module' => 'cms', 'controller' => 'index', 'action' => 'covid'));
        $routerArray[160] = new Zend_Controller_Router_Route('refund-policy', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));

        $routerArray[161] = new Zend_Controller_Router_Route('flight/bookingstatus', array('module' => 'default', 'controller' => 'flight', 'action' => 'bookingstatus'));
        $routerArray[162] = new Zend_Controller_Router_Route('flight/e-ticket-new/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'e-ticket-new'));

        $routerArray[163] = new Zend_Controller_Router_Route('flight/travellerspage', array('module' => 'default', 'controller' => 'flight', 'action' => 'travellerspage'));
        $routerArray[164] = new Zend_Controller_Router_Route('flight/save-new-trav', array('module' => 'default', 'controller' => 'flight', 'action' => 'save-new-trav'));

        $routerArray[165] = new Zend_Controller_Router_Route('webcheckin', array('module' => 'default', 'controller' => 'index', 'action' => 'webcheckin'));
        $routerArray[166] = new Zend_Controller_Router_Route('hotel/download-e-ticket/:traceId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'download-e-ticket'));
        $routerArray[167] = new Zend_Controller_Router_Route('gallery', array('module' => 'gallery', 'controller' => 'index', 'action' => 'index'));

        $routerArray[168] = new Zend_Controller_Router_Route('hotel/bookingstatus', array('module' => 'hotels', 'controller' => 'index', 'action' => 'bookingstatus'));

        $routerArray[169] = new Zend_Controller_Router_Route('car/bookingstatus', array('module' => 'car', 'controller' => 'index', 'action' => 'bookingstatus'));
        $routerArray[170] = new Zend_Controller_Router_Route('faq', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));

        $routerArray[171] = new Zend_Controller_Router_Route('check-payment-status', array('module' => 'default', 'controller' => 'flight', 'action' => 'check-payment-status'));
        $routerArray[172] = new Zend_Controller_Router_Route('bus/payment-failed/:TraceId', array('module' => 'bus', 'controller' => 'index', 'action' => 'payment-failed'));
        $routerArray[173] = new Zend_Controller_Router_Route('thailand-holidays', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[174] = new Zend_Controller_Router_Route('flight/verify-session', array('module' => 'default', 'controller' => 'flight', 'action' => 'verify-session'));

        $routerArray[175] = new Zend_Controller_Router_Route('offers-terms-conditions', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[176] = new Zend_Controller_Router_Route('holidays-offers-terms-conditions', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[177] = new Zend_Controller_Router_Route('flights-offers', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));

        $routerArray[178] = new Zend_Controller_Router_Route('travel-guidelines', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[179] = new Zend_Controller_Router_Route('sitemap', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[180] = new Zend_Controller_Router_Route('visa-services', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[181] = new Zend_Controller_Router_Route('frequently-asked-questions', array('module' => 'faq', 'controller' => 'index', 'action' => 'index'));
        $routerArray[182] = new Zend_Controller_Router_Route('covid-19-public-notice', array('module' => 'cms', 'controller' => 'index', 'action' => 'index'));
        $routerArray[183] = new Zend_Controller_Router_Route('bus/bookingstatus', array('module' => 'bus', 'controller' => 'index', 'action' => 'bookingstatus'));
        $routerArray[184] = new Zend_Controller_Router_Route('thankyou', array('module' => 'cms', 'controller' => 'index', 'action' => 'thankyou'));
        $routerArray[185] = new Zend_Controller_Router_Route('robots.txt', array('module' => 'default', 'controller' => 'index', 'action' => 'robots'));
		$routerArray[186] = new Zend_Controller_Router_Route('travelgpt', array('module' => 'default', 'controller' => 'index', 'action' => 'travelgpt'));
		$routerArray[187] = new Zend_Controller_Router_Route('travelgpt-details', array('module' => 'default', 'controller' => 'index', 'action' => 'travelgptdetails'));
		$routerArray[188] = new Zend_Controller_Router_Route('visa/document/upload-passanger-document', array('module' => 'visa', 'controller' => 'document', 'action' => 'upload-passanger-document'));
        $routerArray[189] = new Zend_Controller_Router_Route('visa/document/pax-details', array('module' => 'visa', 'controller' => 'document', 'action' => 'pax-details'));
		$routerArray[190] = new Zend_Controller_Router_Route('api/index/appkey/:appkey', array('module' => 'api', 'controller' => 'index', 'action' => 'index'));
		$routerArray[191] = new Zend_Controller_Router_Route('detail/index/packagesearchdata', array('module' => 'detail', 'controller' => 'index', 'action' => 'packagesearchdata'));
        $routerArray[192] = new Zend_Controller_Router_Route('detail/index/get-hotel-detail-onclick', array('module' => 'detail', 'controller' => 'index', 'action' => 'get-hotel-detail-onclick'));
		$routerArray[193] = new Zend_Controller_Router_Route('hotel/hotel-booking', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotel-booking'));
        $routerArray[194] = new Zend_Controller_Router_Route('flight/flightsearchapi', array('module' => 'default', 'controller' => 'flight', 'action' => 'flightsearchapi'));
        $routerArray[195] = new Zend_Controller_Router_Route('travelgptgetapi', array('module' => 'default', 'controller' => 'index', 'action' => 'travelgptgetapi'));
        $routerArray[196] = new Zend_Controller_Router_Route('hotel/hotel-nationality', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotelnationalityapi'));
        $routerArray[197] = new Zend_Controller_Router_Route('detail/index/get-transfer-detail-onclick', array('module' => 'detail', 'controller' => 'index', 'action' => 'get-transfer-detail-onclick'));
        $routerArray[198] = new Zend_Controller_Router_Route('hotel/hotelsearchdataapi', array('module' => 'hotels', 'controller' => 'index', 'action' => 'hotelsearchdataapi'));
        $routerArray[199] = new Zend_Controller_Router_Route('bus/searchapi', array('module' => 'bus', 'controller' => 'index', 'action' => 'searchapi'));
        $routerArray[200] = new Zend_Controller_Router_Route('flight/e-ticket-download/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'e-ticket-download'));
        $routerArray[201] = new Zend_Controller_Router_Route('blogs/:travid', array('module' => 'travelogue', 'controller' => 'index', 'action' => 'detail'));
        $routerArray[202] = new Zend_Controller_Router_Route('visa/visa/doc-detail', array('module' => 'visa', 'controller' => 'visa', 'action' => 'doc-detail'));
        $routerArray[203] = new Zend_Controller_Router_Route('flight/e-ticket-api/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'e-ticket-api'));
        $routerArray[204] = new Zend_Controller_Router_Route('flight/e-ticket-api-download/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'e-ticket-api-download'));
        $routerArray[205] = new Zend_Controller_Router_Route('lp/:lp', array('module' => 'default', 'controller' => 'index', 'action' => 'landing-page'));

        
        $routerArray[206] = new Zend_Controller_Router_Route('flight/cancel-ticket-api/:TPSysId', array('module' => 'default', 'controller' => 'flight', 'action' => 'cancel-ticket-api'));

        $routerArray[207] = new Zend_Controller_Router_Route('flight/invoice-api/:bookingId', array('module' => 'default', 'controller' => 'flight', 'action' => 'invoice-api'));

        $routerArray[208] = new Zend_Controller_Router_Route('flight/booking-confirmed-new/:TPSysId', array('module' => 'default', 'controller' => 'flight', 'action' => 'booking-confirmed-new'));
        $routerArray[209] = new Zend_Controller_Router_Route('flight/getflightfarerulesnew', array('module' => 'default', 'controller' => 'flight', 'action' => 'getflightfarerulesnew'));
        $routerArray[210] = new Zend_Controller_Router_Route('hotel/voucher/:TPSysId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'voucher'));
        $routerArray[211] = new Zend_Controller_Router_Route('hotel/invoice-new/:TPSysId', array('module' => 'hotels', 'controller' => 'index', 'action' => 'invoice-new'));
        $routerArray[212] = new Zend_Controller_Router_Route('forex-new', array('module' => 'cms', 'controller' => 'index', 'action' => 'forex-new'));
		$routerArray[213] = new Zend_Controller_Router_Route('forex', array('module' => 'cms', 'controller' => 'index', 'action' => 'forex'));
        $routerArray[214] = new Zend_Controller_Router_Route('enquiry', array('module' => 'cms', 'controller' => 'index', 'action' => 'enquiry'));
        $router = Zend_Controller_Front::getInstance()->getRouter();
        $router->addRoutes($routerArray);
        $controller = Zend_Controller_Front::getInstance();
        $controller->setRouter($router);
    }

    protected function _initCache()
    {

        Zend_Controller_Front::getInstance()->setParam('disableOutputBuffering', true);

        $frontend = array(
            'lifetime' => 7200,
            'automatic_serialization' => true
        );

        $backend = array(
            'cache_dir' => APPLICATION_PATH . '/../cache',
        );

        $cache = Zend_Cache::factory(
            'core',
            'File',
            $frontend,
            $backend
        );
        //Zend_Registry::set('cache',$cache);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit