diff --git a/profiles/unl_profile/unl_profile.ini.sample b/profiles/unl_profile/unl_profile.ini.sample index 417595822e3c702efd3de821185474d1541dcfae..cacab29221a1a0a92ed8142ed55f1a246bd686c6 100644 --- a/profiles/unl_profile/unl_profile.ini.sample +++ b/profiles/unl_profile/unl_profile.ini.sample @@ -1,2 +1,3 @@ [defaults] temp_dir = "/tmp/" +error_level = 2 \ No newline at end of file diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install index b87359332e9d53e8d7870e9caeeddb6a2d8896a4..a5d50d58cce29637e21c1d2ad4faa8ddca1c29a8 100644 --- a/profiles/unl_profile/unl_profile.install +++ b/profiles/unl_profile/unl_profile.install @@ -56,6 +56,10 @@ function unl_profile_install() variable_set('file_temporary_path', $ini_settings['temp_dir']); } + if (isset($ini_settings['error_level'])) { + variable_set('error_level', $ini_settings['error_level']); + } + unl_profile_add_shortcut('Related Links', 'admin/structure/block/manage/block/1/configure'); unl_profile_add_shortcut('Footer', 'admin/structure/block/manage/block/11/configure'); unl_profile_add_shortcut('Contact Us', 'admin/structure/block/manage/block/21/configure');