Subversion Repositories SmartDukaan

Rev

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

Rev 20327 Rev 20329
Line 169... Line 169...
169
			if(!@include("category.php")) {
169
			if(!@include("category.php")) {
170
				$this->set('outputcategory') = '';
170
				$this->set('outputcategory') = '';
171
			} else {
171
			} else {
172
				$this->set('outputcategory') = ob_get_clean();
172
				$this->set('outputcategory') = ob_get_clean();
173
			}
173
			}
-
 
174
		}
174
 
175
 
175
    }
176
    }
176
	
177
	
177
	function checkAcl() {		
178
	function checkAcl() {		
178
    	if(!in_array($this->here,$this->acls[$this->Session->read('Auth.User.group_id')]['allowed'])){
179
    	if(!in_array($this->here,$this->acls[$this->Session->read('Auth.User.group_id')]['allowed'])){