Fixed to match with the name of configuration setting.

This commit is contained in:
Loic d'Anterroches 2009-07-13 16:11:20 +02:00
parent dc6f25cdef
commit 82e2684004

View File

@ -40,7 +40,7 @@ class IDF_Plugin_SyncGit_Cron
$cmd = Pluf::f('idf_plugin_syncgit_path_gitserve', '/dev/null');
$authorized_keys = Pluf::f('idf_plugin_syncgit_path_authorized_keys', false);
if (false == $authorized_keys) {
throw new Pluf_Exception_SettingError('Setting git_path_authorized_keys not set.');
throw new Pluf_Exception_SettingError('Setting idf_plugin_syncgit_path_authorized_keys not set.');
}
if (!is_writable($authorized_keys)) {
throw new Exception('Cannot create file: '.$authorized_keys);