Skip to content
Snippets Groups Projects
Commit ef3c5ab9 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Avertissement en cas d'action inconnue

parent 12cd1b09
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,7 @@ class OseAdmin ...@@ -159,6 +159,7 @@ class OseAdmin
if (file_exists($this->getOseDir() . 'admin/actions/' . $action . '.php')) { if (file_exists($this->getOseDir() . 'admin/actions/' . $action . '.php')) {
require_once $this->getOseDir() . 'admin/actions/' . $action . '.php'; require_once $this->getOseDir() . 'admin/actions/' . $action . '.php';
} else { } else {
$c->println('Action "'.$action.'" inconnue.', $c::COLOR_RED);
require_once $this->getOseDir() . 'admin/actions/help.php'; require_once $this->getOseDir() . 'admin/actions/help.php';
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment