summaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
authorTroels Liebe Bentsen <tlb@rapanden.dk>2006-02-18 19:32:51 +0100
committerTroels Liebe Bentsen <tlb@rapanden.dk>2006-02-18 19:32:51 +0100
commitac9115b0337bc6c9b49cdb05210dd85a270d1594 (patch)
treefa7e2699f86ea0ff578324dd27ea2c4b54170834 /lib/plugins
parentc771e9edbaeab519add52cb6ef140f2eec24d217 (diff)
downloadrpg-ac9115b0337bc6c9b49cdb05210dd85a270d1594.tar.gz
rpg-ac9115b0337bc6c9b49cdb05210dd85a270d1594.tar.bz2
Fix wrong umask usage and so we set the correct file premissions.
darcs-hash:20060218183251-ee6b9-798ab2994526311b1e58f04e7684b39b51426887.gz
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/config/lang/en/lang.php7
-rw-r--r--lib/plugins/config/settings/config.metadata.php3
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/plugins/config/lang/en/lang.php b/lib/plugins/config/lang/en/lang.php
index c79c09381..d404277bc 100644
--- a/lib/plugins/config/lang/en/lang.php
+++ b/lib/plugins/config/lang/en/lang.php
@@ -18,9 +18,10 @@ $lang['locked'] = 'The settings file can not be updated, if this is unintent
ensure the local settings file name and permissions are correct.';
// settings prompts
-$lang['umask'] = 'new file permission mask'; //set the umask for new files
-$lang['dmask'] = 'new folder permission mask'; //directory mask accordingly
-$lang['lang'] = 'language'; //your language
+$lang['umask'] = 'global permission mask'; //set the umask for new files
+$lang['fmode'] = 'file creation mode'; //directory mask accordingly
+$lang['dmode'] = 'directory creation mode'; //directory mask accordingly
+$lang['lang'] = 'language'; //your language
$lang['basedir'] = 'base directory'; //absolute dir from serveroot - blank for autodetection
$lang['baseurl'] = 'base url'; //URL to server including protocol - blank for autodetect
$lang['savedir'] = 'save directory'; //where to store all the files
diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php
index 70333c28c..010b2d6ae 100644
--- a/lib/plugins/config/settings/config.metadata.php
+++ b/lib/plugins/config/settings/config.metadata.php
@@ -73,7 +73,8 @@ $meta['lang'] = array('dirchoice','_dir' => DOKU_INC.'inc/lang/');
$meta['template'] = array('dirchoice','_dir' => DOKU_INC.'lib/tpl/');
$meta['umask'] = array('numeric','_pattern' => '/0[0-7]{3}/'); // only accept octal representation
-$meta['dmask'] = array('numeric','_pattern' => '/0[0-7]{3}/'); // only accept octal representation
+$meta['dmode'] = array('numeric','_pattern' => '/0[0-7]{3}/'); // only accept octal representation
+$meta['fmode'] = array('numeric','_pattern' => '/0[0-7]{3}/'); // only accept octal representation
$meta['basedir'] = array('');
$meta['baseurl'] = array('');