ErrorDocument 403 /core/templates/403.php
ErrorDocument 404 /core/templates/404.php
<IfModule mod_php5.c>
-php_value upload_max_filesize 513M
-php_value post_max_size 513M
+php_value upload_max_filesize 2000M
+php_value post_max_size 2000M
php_value memory_limit 512M
<IfModule env_module>
SetEnv htaccessWorking true
$this->root.='/';
}
- $caview = \OCP\Files::getStorage('files_external');\r
- $capath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("");
+ $capath = '';
+ if($caview = \OCP\Files::getStorage('files_external')) {\r
+ $capath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("");
+ }
$settings = array(
'baseUri' => $this->createBaseUri(),
'userName' => $this->user,