24 lines
		
	
	
		
			668 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			668 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * Name: 404 Detector
 | |
|  * Author: Shish <webmaster@shishnet.org>
 | |
|  * Link: http://code.shishnet.org/shimmie2/
 | |
|  * License: GPLv2
 | |
|  * Visibility: admin
 | |
|  * Description: If no other extension puts anything onto the page, show 404
 | |
|  */
 | |
| class Handle404Info extends ExtensionInfo
 | |
| {
 | |
|     public const KEY = "handle_404";
 | |
| 
 | |
|     public $key = self::KEY;
 | |
|     public $name = "404 Detector";
 | |
|     public $url = self::SHIMMIE_URL;
 | |
|     public $authors = self::SHISH_AUTHOR;
 | |
|     public $license = self::LICENSE_GPLV2;
 | |
|     public $visibility = self::VISIBLE_ADMIN;
 | |
|     public $description = "If no other extension puts anything onto the page, show 404";
 | |
|     public $core = true;
 | |
| }
 |