- fixes missing () from num_rows in authenticate user function - removes passwordhash library in favor of built in PHP password_hash and password_verify functions - uppercase all class filenames - add new CLI error templates, move HTML error templates - update mimes file to latest version - update routes to latest version
		
			
				
	
	
		
			29 行
		
	
	
	
		
			633 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 行
		
	
	
	
		
			633 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| class DXCC_Prefixes extends CI_Model {
 | |
| /*
 | |
| CREATE TABLE IF NOT EXISTS `dxcc_prefixes` (                                                                                       
 | |
|   `record` int NOT NULL,
 | |
|   `call` varchar(10) NOT NULL,
 | |
|   `entity` varchar(255) NOT NULL,
 | |
|   `adif` smallint NOT NULL,
 | |
|   `cqz` smallint NOT NULL,
 | |
|   `cont` varchar(5),
 | |
|   `long` float,
 | |
|   `lat` float,
 | |
|   PRIMARY KEY (`record`),
 | |
|   KEY `record` (`record`)
 | |
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8;          
 | |
| 
 | |
| */
 | |
|     function __construct(){
 | |
|         parent::__construct();
 | |
|     }
 | |
| 
 | |
| 
 | |
|     function empty_table($table){
 | |
|         $this->db->empty_table($table);
 | |
|     }
 | |
| 
 | |
| 
 | |
| }
 |