| 
									
										
										
										
											2014-03-03 09:26:26 +08:00
										 |  |  | <?php class Migrate extends CI_Controller { | 
					
						
							| 
									
										
										
										
											2013-02-25 07:56:37 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |   public function index() | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     $this->load->library('Migration'); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-03-03 09:26:26 +08:00
										 |  |  |     if ( ! $this->migration->latest()) { | 
					
						
							| 
									
										
										
										
											2013-02-25 07:56:37 +08:00
										 |  |  |       show_error($this->migration->error_string()); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } ?>
 |