Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2011-06-24 01:47:46 +0400
committerKamil Domanski <kdomanski@kdemail.net>2011-06-24 01:47:46 +0400
commit2073d3b08e97675a1f418b44a4e7c72039da2149 (patch)
tree8b14c03398e9af9e6afb1e71285885b371c3def6 /lib
parent0bf67298d142b157712ce345e1d999ff2ab9ea49 (diff)
fix 404
Diffstat (limited to 'lib')
-rw-r--r--lib/files.php2
-rw-r--r--lib/setup.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/files.php b/lib/files.php
index 0e7e44ec2ab..d8133667954 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -293,7 +293,7 @@ class OC_FILES {
$size=OC_HELPER::humanFileSize($size);
$size=substr($size,0,-1);//strip the B
$size=str_replace(' ','',$size); //remove the space between the size and the postfix
- $content = "ErrorDocument 404 /$WEBROOT/templates/404.php\n";//custom 404 error page
+ $content = "ErrorDocument 404 /$WEBROOT/core/templates/404.php\n";//custom 404 error page
$content.= "php_value upload_max_filesize $size\n";//upload limit
$content.= "php_value post_max_size $size\n";
$content.= "SetEnv htaccessWorking true\n";
diff --git a/lib/setup.php b/lib/setup.php
index a3cefad62b0..1be4dea286d 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -184,7 +184,7 @@ class OC_SETUP {
private static function createHtaccess() {
global $SERVERROOT;
global $WEBROOT;
- $content = "ErrorDocument 404 /$WEBROOT/templates/404.php\n";//custom 404 error page
+ $content = "ErrorDocument 404 /$WEBROOT/core/templates/404.php\n";//custom 404 error page
$content.= "php_value upload_max_filesize 20M\n";//upload limit
$content.= "php_value post_max_size 20M\n";
$content.= "SetEnv htaccessWorking true\n";