Changeset 2004 for trunk/application/controllers/examples.php
- Timestamp:
- 02/08/2008 07:20:03 PM (11 months ago)
- Files:
-
- 1 modified
-
trunk/application/controllers/examples.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/application/controllers/examples.php
r1911 r2004 25 25 ); 26 26 27 sort($examples); 28 27 29 echo "<strong>Examples:</strong>\n"; 28 30 echo "<ul>\n"; … … 48 50 49 51 // 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); 51 53 52 54 // Download the built archive … … 55 57 else 56 58 { 57 echo html::anchor(Router::$current_uri.'/build', 'Download welcome.php as test.php');59 echo html::anchor(Router::$current_uri.'/build', 'Download views'); 58 60 } 59 61 } … … 96 98 function session() 97 99 { 98 $this->load->database();99 100 $s = new Session(); 100 101
