|
|
@ -162,9 +162,9 @@ class OC { |
|
|
|
OC::$THIRDPARTYWEBROOT = rtrim(dirname(OC::$WEBROOT), '/'); |
|
|
|
OC::$THIRDPARTYWEBROOT = rtrim(dirname(OC::$WEBROOT), '/'); |
|
|
|
OC::$THIRDPARTYROOT = rtrim(dirname(OC::$SERVERROOT), '/'); |
|
|
|
OC::$THIRDPARTYROOT = rtrim(dirname(OC::$SERVERROOT), '/'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
echo("3rdparty directory not found! Please put the ownCloud 3rdparty' |
|
|
|
echo('3rdparty directory not found! Please put the ownCloud 3rdparty' |
|
|
|
.' folder in the ownCloud folder or the folder above.' |
|
|
|
.' folder in the ownCloud folder or the folder above.' |
|
|
|
.' You can also configure the location in the config.php file."); |
|
|
|
.' You can also configure the location in the config.php file.'); |
|
|
|
exit; |
|
|
|
exit; |
|
|
|
} |
|
|
|
} |
|
|
|
// search the apps folder |
|
|
|
// search the apps folder |
|
|
@ -188,8 +188,8 @@ class OC { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (empty(OC::$APPSROOTS)) { |
|
|
|
if (empty(OC::$APPSROOTS)) { |
|
|
|
echo("apps directory not found! Please put the ownCloud apps folder in the ownCloud folder' |
|
|
|
echo('apps directory not found! Please put the ownCloud apps folder in the ownCloud folder' |
|
|
|
.' or the folder above. You can also configure the location in the config.php file."); |
|
|
|
.' or the folder above. You can also configure the location in the config.php file.'); |
|
|
|
exit; |
|
|
|
exit; |
|
|
|
} |
|
|
|
} |
|
|
|
$paths = array(); |
|
|
|
$paths = array(); |
|
|
@ -214,8 +214,8 @@ class OC { |
|
|
|
$tmpl = new OC_Template('', 'error', 'guest'); |
|
|
|
$tmpl = new OC_Template('', 'error', 'guest'); |
|
|
|
$tmpl->assign('errors', array(1 => array( |
|
|
|
$tmpl->assign('errors', array(1 => array( |
|
|
|
'error' => "Can't write into config directory 'config'", |
|
|
|
'error' => "Can't write into config directory 'config'", |
|
|
|
'hint' => "You can usually fix this by giving the webserver user write access' |
|
|
|
'hint' => 'You can usually fix this by giving the webserver user write access' |
|
|
|
.' to the config directory in owncloud" |
|
|
|
.' to the config directory in owncloud' |
|
|
|
))); |
|
|
|
))); |
|
|
|
$tmpl->printPage(); |
|
|
|
$tmpl->printPage(); |
|
|
|
exit(); |
|
|
|
exit(); |
|
|
|