make this look more like an internal function
git-svn-id: file:///home/shish/svn/shimmie2/trunk@261 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
		
							parent
							
								
									e4657006d3
								
							
						
					
					
						commit
						34d95d594d
					
				| @ -144,7 +144,7 @@ function get_thumbnail_size($orig_width, $orig_height) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| # $db is the connection object
 | # $db is the connection object
 | ||||||
| function CountExecs($db, $sql, $inputarray) { | function _count_execs($db, $sql, $inputarray) { | ||||||
| 	global $_execs; | 	global $_execs; | ||||||
| 	if(DEBUG) { | 	if(DEBUG) { | ||||||
| 		$fp = fopen("sql.log", "a"); | 		$fp = fopen("sql.log", "a"); | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ foreach($files as $filename) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| $database = new Database(); | $database = new Database(); | ||||||
| $database->db->fnExecute = 'CountExecs'; | $database->db->fnExecute = '_count_execs'; | ||||||
| $config = new Config(); | $config = new Config(); | ||||||
| $_theme = $config->get_string("theme", "default"); | $_theme = $config->get_string("theme", "default"); | ||||||
| require_once "themes/$_theme/page.class.php"; | require_once "themes/$_theme/page.class.php"; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user