diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-06-21 16:07:04 +0400 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-06-21 16:07:04 +0400 |
commit | e95055b2bdcd70568c4b4e21424800cab47a582b (patch) | |
tree | a7e8ffd6ff780e898da1d8c7445991016d681ab9 /settings/admin.php | |
parent | 09d2f767276f6054148425966fda89e189d621f0 (diff) |
check if the data directory is accessible via http. Show a big security warning if yes
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-x[-rw-r--r--] | settings/admin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php index a997bad4e3c..8369ee64e06 100644..100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -15,6 +15,7 @@ OC_App::setActiveNavigationEntry( "admin" ); $tmpl = new OC_Template( 'settings', 'admin', 'user'); $forms=OC_App::getForms('admin'); +$htaccessworking=OC_Util::ishtaccessworking(); $entries=OC_Log_Owncloud::getEntries(3); function compareEntries($a,$b){ @@ -24,6 +25,7 @@ usort($entries, 'compareEntries'); $tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 )); $tmpl->assign('entries',$entries); +$tmpl->assign('htaccessworking',$htaccessworking); $tmpl->assign('forms',array()); foreach($forms as $form){ $tmpl->append('forms',$form); |