mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 10:27:29 +00:00
Merge remote-tracking branch 'origin/master' into 0.10.0
This commit is contained in:
commit
0f6cc05089
@ -322,11 +322,12 @@ class FroxlorInstall
|
||||
$userdata .= "?>";
|
||||
|
||||
// test if we can store the userdata.inc.php in ../lib
|
||||
if ($fp = @fopen(dirname(dirname(dirname(__FILE__))) . '/lib/userdata.inc.php', 'w')) {
|
||||
$userdata_file = dirname(dirname(dirname(__FILE__))) . '/lib/userdata.inc.php';
|
||||
if ($fp = @fopen($userdata_file, 'w')) {
|
||||
$result = @fputs($fp, $userdata, strlen($userdata));
|
||||
@fclose($fp);
|
||||
$content .= $this->_status_message('green', 'OK');
|
||||
chmod('../lib/userdata.inc.php', 0440);
|
||||
chmod($userdata_file, 0440);
|
||||
} elseif ($fp = @fopen('/tmp/userdata.inc.php', 'w')) {
|
||||
$result = @fputs($fp, $userdata, strlen($userdata));
|
||||
@fclose($fp);
|
||||
|
@ -1650,7 +1650,7 @@ $lng['admin']['usedmax'] = 'Used / Max';
|
||||
$lng['admin']['used'] = 'Used';
|
||||
$lng['mysql']['size'] = 'Size';
|
||||
|
||||
$lng['error']['invalidhostname'] = 'Hostname can\'t be empty nor can it consist only of whitespaces';
|
||||
$lng['error']['invalidhostname'] = 'Hostname needs to be avalid domain. It can\'t be empty nor can it consist only of whitespaces';
|
||||
|
||||
$lng['traffic']['http'] = 'HTTP (MiB)';
|
||||
$lng['traffic']['ftp'] = 'FTP (MiB)';
|
||||
|
@ -1377,7 +1377,7 @@ $lng['admin']['usedmax'] = 'Benutzt / Max.';
|
||||
$lng['admin']['used'] = 'Benutzt';
|
||||
$lng['mysql']['size'] = 'Datenbankgröße';
|
||||
|
||||
$lng['error']['invalidhostname'] = 'Hostname darf nicht leer sein oder nur aus Leerzeichen bestehen';
|
||||
$lng['error']['invalidhostname'] = 'Hostname muss eine gültige Domain sein. Er darf weder leer sein noch nur aus Leerzeichen bestehen';
|
||||
|
||||
$lng['traffic']['http'] = 'HTTP (MiB)';
|
||||
$lng['traffic']['ftp'] = 'FTP (MiB)';
|
||||
|
Loading…
Reference in New Issue
Block a user