Subversion-Projekte lars-tiefland.ci

Revision

Revision 2049 | Revision 2242 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2049 Revision 2107
Zeile 141... Zeile 141...
141
	{
141
	{
142
		$segment_one = ($this->CI->uri->segment(1) == FALSE) ? 'default' : $this->CI->uri->segment(1);
142
		$segment_one = ($this->CI->uri->segment(1) == FALSE) ? 'default' : $this->CI->uri->segment(1);
143
		$segment_two = ($this->CI->uri->segment(2) == FALSE) ? 'index' : $this->CI->uri->segment(2);
143
		$segment_two = ($this->CI->uri->segment(2) == FALSE) ? 'index' : $this->CI->uri->segment(2);
144
		$filepath = $this->db->cachedir.$segment_one.'+'.$segment_two.'/'.md5($sql);
144
		$filepath = $this->db->cachedir.$segment_one.'+'.$segment_two.'/'.md5($sql);
Zeile 145... Zeile 145...
145
 
145
 
146
		if (FALSE === ($cachedata = @file_get_contents($filepath)))
146
		if ( ! is_file($filepath) OR FALSE === ($cachedata = file_get_contents($filepath)))
147
		{
147
		{
148
			return FALSE;
148
			return FALSE;
Zeile 149... Zeile 149...
149
		}
149
		}