ajout de la partie slam dans le dossier web
This commit is contained in:
		
							
								
								
									
										36
									
								
								ap23/web/doku/inc/Action/Show.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								ap23/web/doku/inc/Action/Show.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | ||||
| <?php | ||||
| /** | ||||
|  * Created by IntelliJ IDEA. | ||||
|  * User: andi | ||||
|  * Date: 2/10/17 | ||||
|  * Time: 4:32 PM | ||||
|  */ | ||||
|  | ||||
| namespace dokuwiki\Action; | ||||
|  | ||||
| /** | ||||
|  * Class Show | ||||
|  * | ||||
|  * The default action of showing a page | ||||
|  * | ||||
|  * @package dokuwiki\Action | ||||
|  */ | ||||
| class Show extends AbstractAction { | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function minimumPermission() { | ||||
|         return AUTH_READ; | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function preProcess() { | ||||
|         global $ID; | ||||
|         unlock($ID); | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function tplContent() { | ||||
|         html_show(); | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user