Subversion Repositories SmartDukaan

Rev

Rev 13683 | Rev 13736 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13683 Rev 13685
Line 56... Line 56...
56
		$this->set('description','Why spend money when you can get something for free');
56
		$this->set('description','Why spend money when you can get something for free');
57
		$this->set('categories',$categories);
57
		$this->set('categories',$categories);
58
		if(isset($this->params['admin'])) {
58
		if(isset($this->params['admin'])) {
59
    		$this->layout = 'admin';
59
    		$this->layout = 'admin';
60
    	}		
60
    	}		
-
 
61
		$staticVersion = Configure::read('staticversion');
-
 
62
		$this->set('staticversion',$staticVersion);
61
    }
63
    }
62
	
64
	
63
    function isAuthorized() {
65
    function isAuthorized() {
64
        return $this->Auth->user('id');
66
        return $this->Auth->user('id');
65
    }
67
    }