Subversion Repositories SmartDukaan

Rev

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

Rev 10751 Rev 10815
Line 80... Line 80...
80
			}
80
			}
81
		}
81
		}
82
		if(!isset($cache) || $cache != 0){
82
		if(!isset($cache) || $cache != 0){
83
			setCache($configdata['module'],$cachemodule,$data['response']);
83
			setCache($configdata['module'],$cachemodule,$data['response']);
84
		}
84
		}
-
 
85
		$data['response']['response'] = $this->InsertBeforeKey($data['response']['response'],'home_featured_product','recharge_icons',$tmp['response']['recharge_icons']);
85
		$data['response']['response'] = $this->InsertBeforeKey($data['response']['response'],'home_menu','recommended_accessories',$tmp['response']['recommended_accessories']);
86
		$data['response']['response'] = $this->InsertBeforeKey($data['response']['response'],'home_menu','recommended_accessories',$tmp['response']['recommended_accessories']);
86
		//end of set cache\
87
		//end of set cache\
87
		$this->layout->view('home/home_view',$data);
88
		$this->layout->view('home/home_view',$data);
88
	}
89
	}
89
	public function InsertBeforeKey($originalArray,$originalKey,$insertKey,$insertValue){
90
	public function InsertBeforeKey($originalArray,$originalKey,$insertKey,$insertValue){