Show
Ignore:
Timestamp:
03/29/2008 05:50:38 AM (8 months ago)
Author:
Geert
Message:

Added cache.driver_implements error just as is done with all other drivers.
Various other cleanups as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Pagination.php

    r2168 r2377  
    8888                { 
    8989                        // Use current URI if no base_url set 
    90                         $this->url = ($this->base_url == '') ? Router::$segments : explode('/', trim($this->base_url, '/')); 
     90                        $this->url = ($this->base_url === '') ? Router::$segments : explode('/', trim($this->base_url, '/')); 
    9191 
    9292                        // Convert uri 'label' to corresponding integer if needed 
     
    125125                // If there is no first/last/previous/next page, relative to the 
    126126                // current page, value is set to FALSE. Valid page number otherwise. 
    127                 $this->first_page         = ($this->current_page == 1) ? FALSE : 1; 
     127                $this->first_page         = ($this->current_page === 1) ? FALSE : 1; 
    128128                $this->last_page          = ($this->current_page >= $this->total_pages) ? FALSE : $this->total_pages; 
    129129                $this->previous_page      = ($this->current_page > 1) ? $this->current_page - 1 : FALSE; 
     
    144144        { 
    145145                // Hide single page pagination 
    146                 if ($this->auto_hide == TRUE AND $this->total_pages <= 1) 
     146                if ($this->auto_hide === TRUE AND $this->total_pages <= 1) 
    147147                        return ''; 
    148148