Gettext is already loaded at this point
This commit is contained in:
parent
a89bb5dd92
commit
bb1df87584
@ -1153,13 +1153,12 @@ class PMA_Config
|
||||
$this->checkWebServerOs();
|
||||
if ($this->get('PMA_IS_WINDOWS') == 0) {
|
||||
$this->source_mtime = 0;
|
||||
/* Gettext is possibly still not loaded */
|
||||
if (function_exists('__')) {
|
||||
$msg = __('Wrong permissions on configuration file, should not be world writable!');
|
||||
} else {
|
||||
$msg = 'Wrong permissions on configuration file, should not be world writable!';
|
||||
}
|
||||
PMA_fatalError($msg);
|
||||
PMA_fatalError(
|
||||
__(
|
||||
'Wrong permissions on configuration file, '
|
||||
. 'should not be world writable!'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user