Respect coding style
This commit is contained in:
parent
d5fd5cd584
commit
e5cb638c09
|
@ -135,7 +135,7 @@ class OC_Config{
|
|||
}
|
||||
|
||||
// Include the file, save the data from $CONFIG
|
||||
include( OC::$SERVERROOT."/config/config.php" );
|
||||
include OC::$SERVERROOT."/config/config.php";
|
||||
if( isset( $CONFIG ) && is_array( $CONFIG )) {
|
||||
self::$cache = $CONFIG;
|
||||
}
|
||||
|
@ -164,7 +164,9 @@ class OC_Config{
|
|||
$result=@file_put_contents( $filename, $content );
|
||||
if(!$result) {
|
||||
$tmpl = new OC_Template( '', 'error', 'guest' );
|
||||
$tmpl->assign('errors',array(1=>array('error'=>"Can't write into config directory 'config'",'hint'=>"You can usually fix this by giving the webserver user write access to the config directory in owncloud")));
|
||||
$tmpl->assign('errors', array(1=>array(
|
||||
'error'=>"Can't write into config directory 'config'",
|
||||
'hint'=>"You can usually fix this by giving the webserver user write access to the config directory in owncloud")));
|
||||
$tmpl->printPage();
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue