Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<?php
App::uses('AppController', 'Controller');
/**
 * A Controller
 *
 * @property A $A
 * @property PaginatorComponent $Paginator
 */
class BController extends AppController {

/**
 * Components
 *
 * @var array
 */
        
        public $components = array('Paginator');
            public function beforeFilter() {
                parent::beforeFilter();
            }

                public function index() {
                        $this->layout = 'ajax';
                        $url = $this->request->query('url');                            
                        header('Location: '.$url);
                        exit;   
        }
}