these are set in ext/setup's initextevent handler
git-svn-id: file:///home/shish/svn/shimmie2/trunk@393 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
		
							parent
							
								
									0ee06bc1fd
								
							
						
					
					
						commit
						c742614828
					
				| @ -95,7 +95,7 @@ function tag_explode($tags) { | |||||||
| function make_link($page=null, $query=null) { | function make_link($page=null, $query=null) { | ||||||
| 	global $config; | 	global $config; | ||||||
| 
 | 
 | ||||||
| 	if(is_null($page)) $page = $config->get_string('main_page', 'post/list'); | 	if(is_null($page)) $page = $config->get_string('main_page'); | ||||||
| 
 | 
 | ||||||
| 	$base = $config->get_string('base_href', './index.php?q='); | 	$base = $config->get_string('base_href', './index.php?q='); | ||||||
| 
 | 
 | ||||||
| @ -402,7 +402,7 @@ function _get_page_request($page) { | |||||||
| 	$args = _get_query_parts(); | 	$args = _get_query_parts(); | ||||||
| 
 | 
 | ||||||
| 	if(count($args) == 0 || strlen($args[0]) == 0) { | 	if(count($args) == 0 || strlen($args[0]) == 0) { | ||||||
| 		$parts = split('/', $config->get_string('front_page', 'post/list')); | 		$parts = split('/', $config->get_string('front_page')); | ||||||
| 		$page_name = array_shift($parts); | 		$page_name = array_shift($parts); | ||||||
| 		$args = $parts; | 		$args = $parts; | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user