diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-03 23:07:07 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-03 23:07:07 +0000 |
| commit | 328a982546a202140697700b6688da3e32dbb2de (patch) | |
| tree | ec67b92dd04850b1538425b1665eed322439a27f /modules/local_import/helpers/local_import_installer.php | |
| parent | e291e881104df2efc2f37b4e24f3c1f2ec9bec3f (diff) | |
* Validate that the source path is authorized.
* Add site warning message if local_import is installed an there is no
authorized directories
Diffstat (limited to 'modules/local_import/helpers/local_import_installer.php')
| -rw-r--r-- | modules/local_import/helpers/local_import_installer.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/local_import/helpers/local_import_installer.php b/modules/local_import/helpers/local_import_installer.php index ea9b5d93..df183a11 100644 --- a/modules/local_import/helpers/local_import_installer.php +++ b/modules/local_import/helpers/local_import_installer.php @@ -28,6 +28,9 @@ class local_import_installer { module::set_version("local_import", 1); module::set_var("local_import", "authorized_paths", serialize(array())); + message::warning( + t("You have no upload directories, click <a href='%url'>here</a> to configure one", + array("url" => url::site("/admin/local_import")))); } } |
