diff options
Diffstat (limited to 'actions/siteadminpanel.php')
-rw-r--r-- | actions/siteadminpanel.php | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php index 916b9ebfb..40197d6e2 100644 --- a/actions/siteadminpanel.php +++ b/actions/siteadminpanel.php @@ -92,8 +92,8 @@ class SiteadminpanelAction extends AdminPanelAction { static $settings = array('site' => array('name', 'broughtby', 'broughtbyurl', 'email', 'timezone', 'language', - 'ssl', 'sslserver', 'site', 'path', - 'textlimit', 'dupelimit', 'locale_path'), + 'ssl', 'sslserver', 'site', + 'textlimit', 'dupelimit'), 'snapshot' => array('run', 'reporturl', 'frequency')); static $booleans = array('site' => array('private', 'inviteonly', 'closed', 'fancy')); @@ -216,14 +216,6 @@ class SiteadminpanelAction extends AdminPanelAction $this->clientError(_("Dupe limit must 1 or more seconds.")); } - // Validate locales path - - // XXX: What else do we need to validate for lacales path here? --Z - - if (!empty($values['site']['locale_path']) && !is_readable($values['site']['locale_path'])) { - $this->clientError(sprintf(_("Locales directory not readable: %s"), $values['site']['locale_path'])); - } - } } @@ -317,9 +309,6 @@ class SiteAdminPanelForm extends AdminForm false, $this->value('language')); $this->unli(); - $this->li(); - $this->input('locale_path', _('Path to locales'), _('Directory path to locales')); - $this->unli(); $this->out->elementEnd('ul'); $this->out->elementEnd('fieldset'); @@ -331,10 +320,6 @@ class SiteAdminPanelForm extends AdminForm $this->unli(); $this->li(); - $this->input('path', _('Path'), _('Site path')); - $this->unli(); - - $this->li(); $this->out->checkbox('fancy', _('Fancy URLs'), (bool) $this->value('fancy'), _('Use fancy (more readable and memorable) URLs?')); |