Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
18500 manas 1
<?php
2
App::uses('AppController', 'Controller');
3
/**
4
 * A Controller
5
 *
6
 * @property A $A
7
 * @property PaginatorComponent $Paginator
8
 */
9
class BController extends AppController {
10
 
11
/**
12
 * Components
13
 *
14
 * @var array
15
 */
16
 
17
	public $components = array('Paginator');
18
	    public function beforeFilter() {
19
	    	parent::beforeFilter();
20
	    }
21
 
22
		public function index() {
23
			$this->layout = 'ajax';
24
			$url = $this->request->query('url');				
25
			header('Location: '.$url);
26
			exit;	
27
	}
28
}