Subversion Repositories SmartDukaan

Rev

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

Rev 20135 Rev 20327
Line 162... Line 162...
162
			}elseif(isset($localCartHistory['cartItems'])&& count($localCartHistory['cartItems'])==0) {
162
			}elseif(isset($localCartHistory['cartItems'])&& count($localCartHistory['cartItems'])==0) {
163
				setcookie('txn_comp', 'yes', -1, '/');
163
				setcookie('txn_comp', 'yes', -1, '/');
164
			}else{
164
			}else{
165
				$this->set('localCartHistory',$localCartHistory);
165
				$this->set('localCartHistory',$localCartHistory);
166
			}
166
			}
-
 
167
			
-
 
168
			ob_start();
-
 
169
			if(!@include("category.php")) {
-
 
170
				$this->set('outputcategory') = '';
-
 
171
			} else {
-
 
172
				$this->set('outputcategory') = ob_get_clean();
167
		}
173
			}
168
 
174
 
169
    }
175
    }
170
	
176
	
171
	function checkAcl() {		
177
	function checkAcl() {		
172
    	if(!in_array($this->here,$this->acls[$this->Session->read('Auth.User.group_id')]['allowed'])){
178
    	if(!in_array($this->here,$this->acls[$this->Session->read('Auth.User.group_id')]['allowed'])){