PluginProbe
Redirection / 5.10.0
Redirection v5.10.0
5.10.0 5.9.0 5.8.1 5.8.0 3.7.2 3.7.3 4.0 4.0.1 4.1 4.1.1 4.2 4.2.1 4.2.2 4.2.3 4.3 4.3.1 4.3.2 4.3.3 4.4 4.4.1 4.4.2 4.5 4.5.1 4.6.2 4.7.1 All 130 releases
redirection / modules / nginx.php

nginx.php in Redirection 5.10.0, at modules/nginx.php

42 lines 553 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 class Nginx_Module extends Red_Module {
4 const MODULE_ID = 3;
5
6 /**
7 * Get module ID
8 *
9 * @return int
10 */
11 public function get_id() {
12 return self::MODULE_ID;
13 }
14
15 /**
16 * Get module name
17 *
18 * @return string
19 */
20 public function get_name() {
21 return 'Nginx';
22 }
23
24 /**
25 * Flush module cache
26 *
27 * @return void
28 */
29 protected function flush_module() {
30 }
31
32 /**
33 * Update module configuration
34 *
35 * @param array<string, mixed> $data Update data.
36 * @return false
37 */
38 public function update( array $data ) {
39 return false;
40 }
41 }
42