diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-04-28 16:54:10 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-04-28 16:54:10 +0200 |
commit | 1850bddb673d4e19e4ff5dd58c99855b1c0f7a71 (patch) | |
tree | 0fe22ca943beb0733c13b87b21e91f139f5b80d2 /lib/installer.php | |
parent | e7c91b55b78aff8292f48d82d107b3a4865ddb99 (diff) | |
download | nextcloud-server-1850bddb673d4e19e4ff5dd58c99855b1c0f7a71.tar.gz nextcloud-server-1850bddb673d4e19e4ff5dd58c99855b1c0f7a71.zip |
move sqlite database into the data folder, makes it easier to set the correct permissions
Diffstat (limited to 'lib/installer.php')
-rw-r--r-- | lib/installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer.php b/lib/installer.php index 1222a22e71c..0646ef8e0ea 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -136,7 +136,7 @@ class OC_INSTALLER{ global $SERVERROOT; global $WEBROOT; $content="ErrorDocument 404 /$WEBROOT/templates/404.php\n"; - file_put_contents($SERVERROOT.'/.htaccess',$content); + @file_put_contents($SERVERROOT.'/.htaccess',$content); //supress errors in case we don't have permissions for it $content="deny from all"; file_put_contents(OC_CONFIG::getValue('datadirectory',$SERVERROOT.'/data').'/.htaccess',$content); |