Show
Ignore:
Timestamp:
02/08/2008 07:20:03 PM (11 months ago)
Author:
Shadowhand
Message:

Updated default welcome controller and views. Much more attractive now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/application/controllers/examples.php

    r1911 r2004  
    2525                ); 
    2626 
     27                sort($examples); 
     28 
    2729                echo "<strong>Examples:</strong>\n"; 
    2830                echo "<ul>\n"; 
     
    4850 
    4951                        // Add welcome.php with the name of test.php 
    50                         $archive->add(APPPATH.'controllers/welcome.php', 'test.php'); 
     52                        $archive->add(APPPATH.'views/', 'shitty/views', TRUE); 
    5153 
    5254                        // Download the built archive 
     
    5557                else 
    5658                { 
    57                         echo html::anchor(Router::$current_uri.'/build', 'Download welcome.php as test.php'); 
     59                        echo html::anchor(Router::$current_uri.'/build', 'Download views'); 
    5860                } 
    5961        } 
     
    9698        function session() 
    9799        { 
    98                 $this->load->database(); 
    99100                $s = new Session(); 
    100101