From 328a982546a202140697700b6688da3e32dbb2de Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 3 Mar 2009 23:07:07 +0000 Subject: * Validate that the source path is authorized. * Add site warning message if local_import is installed an there is no authorized directories --- modules/local_import/helpers/local_import_installer.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/local_import/helpers') 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 here to configure one", + array("url" => url::site("/admin/local_import")))); } } -- cgit v1.2.3