diff --git a/config.example.php b/config.example.php index 84ab178..d3d4a6f 100644 --- a/config.example.php +++ b/config.example.php @@ -3,6 +3,7 @@ return [ 'domain' => 'lefuturiste.fr', 'modules' => [ + 'modules' => [], 'random' => [], 'date' => [ 'alias' => ['printdate'] diff --git a/modules/modules/modules.php b/modules/modules/modules.php new file mode 100644 index 0000000..5a15785 --- /dev/null +++ b/modules/modules/modules.php @@ -0,0 +1,25 @@ +

List of modules

+ +\n"; +foreach ($config['modules'] as $name => $moduleConf) { + if ($name == 'modules') { continue; } + ?> +
  • + + + + , + +
  • + ";