Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
989b4fee0e | ||
|
|
7f6810c5bd | ||
|
|
3fbc9815ea | ||
|
|
11533c2d75 | ||
|
|
652a998188 | ||
|
|
4546c00adb | ||
|
|
3c16fab92c | ||
|
|
c8c1f7e691 | ||
|
|
02d0194b9f | ||
|
|
54876efc8c | ||
|
|
a2f8d02b16 | ||
|
|
0d45e03f19 | ||
|
|
ae74cdda53 |
26
README.md
26
README.md
@@ -54,24 +54,24 @@ May be found in [COPYING](COPYING)
|
|||||||
### Tarball
|
### Tarball
|
||||||
https://files.froxlor.org/releases/froxlor-latest.tar.gz [MD5](https://files.froxlor.org/releases/froxlor-latest.tar.gz.md5) [SHA1](https://files.froxlor.org/releases/froxlor-latest.tar.gz.sha1)
|
https://files.froxlor.org/releases/froxlor-latest.tar.gz [MD5](https://files.froxlor.org/releases/froxlor-latest.tar.gz.md5) [SHA1](https://files.froxlor.org/releases/froxlor-latest.tar.gz.sha1)
|
||||||
|
|
||||||
### Debian repository
|
### Debian / Ubutnu repository
|
||||||
|
|
||||||
[HowTo](https://docs.froxlor.org/general/installation/aptpackage.html)
|
[HowTo](https://docs.froxlor.org/general/installation/aptpackage.html)
|
||||||
|
|
||||||
```
|
#### Debian
|
||||||
apt-get -y install apt-transport-https lsb-release ca-certificates
|
|
||||||
wget -O - https://deb.froxlor.org/froxlor.gpg | apt-key add -
|
|
||||||
echo "deb https://deb.froxlor.org/debian $(lsb_release -sc) main" > /etc/apt/sources.list.d/froxlor.list
|
|
||||||
```
|
|
||||||
|
|
||||||
### Ubuntu repository
|
|
||||||
|
|
||||||
[HowTo](https://docs.froxlor.org/general/installation/aptpackage.html)
|
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get -y install apt-transport-https lsb-release ca-certificates
|
apt-get -y install apt-transport-https lsb-release ca-certificates curl
|
||||||
wget -O - https://deb.froxlor.org/froxlor.gpg | apt-key add -
|
curl -sSLo /usr/share/keyrings/deb.froxlor.org-froxlor.gpg https://deb.froxlor.org/froxlor.gpg
|
||||||
echo "deb https://deb.froxlor.org/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/froxlor.list
|
sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.froxlor.org-froxlor.gpg] https://deb.froxlor.org/debian $(lsb_release -sc) main" > /etc/apt/sources.list.d/froxlor.list'
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Ubuntu
|
||||||
|
|
||||||
|
```
|
||||||
|
apt-get -y install apt-transport-https lsb-release ca-certificates curl
|
||||||
|
curl -sSLo /usr/share/keyrings/deb.froxlor.org-froxlor.gpg https://deb.froxlor.org/froxlor.gpg
|
||||||
|
sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.froxlor.org-froxlor.gpg] https://deb.froxlor.org/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/froxlor.list'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|||||||
0
actions/admin/index.html
Normal file
0
actions/admin/index.html
Normal file
0
actions/admin/settings/index.html
Normal file
0
actions/admin/settings/index.html
Normal file
0
actions/index.html
Normal file
0
actions/index.html
Normal file
0
css/images/index.html
Normal file
0
css/images/index.html
Normal file
0
css/index.html
Normal file
0
css/index.html
Normal file
0
doc/example/index.html
Normal file
0
doc/example/index.html
Normal file
0
doc/index.html
Normal file
0
doc/index.html
Normal file
@@ -723,7 +723,7 @@ opcache.validate_timestamps'),
|
|||||||
('panel', 'logo_image_login', ''),
|
('panel', 'logo_image_login', ''),
|
||||||
('panel', 'logo_overridetheme', '0'),
|
('panel', 'logo_overridetheme', '0'),
|
||||||
('panel', 'logo_overridecustom', '0'),
|
('panel', 'logo_overridecustom', '0'),
|
||||||
('panel', 'version', '0.10.33'),
|
('panel', 'version', '0.10.34.1'),
|
||||||
('panel', 'db_version', '202112310');
|
('panel', 'db_version', '202112310');
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
install/index.html
Normal file
0
install/index.html
Normal file
@@ -550,16 +550,23 @@ class FroxlorInstall
|
|||||||
$this->_updateSetting($upd_stmt, 'error', 'system', 'errorlog_level');
|
$this->_updateSetting($upd_stmt, 'error', 'system', 'errorlog_level');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* not yet used in configfiles
|
||||||
|
* -> 0.11.x
|
||||||
|
*
|
||||||
$distros = glob(\Froxlor\FileDir::makeCorrectDir(\Froxlor\Froxlor::getInstallDir() . '/lib/configfiles/') . '*.xml');
|
$distros = glob(\Froxlor\FileDir::makeCorrectDir(\Froxlor\Froxlor::getInstallDir() . '/lib/configfiles/') . '*.xml');
|
||||||
foreach ($distros as $_distribution) {
|
foreach ($distros as $_distribution) {
|
||||||
if ($this->_data['distribution'] == str_replace(".xml", "", strtolower(basename($_distribution)))) {
|
if ($this->_data['distribution'] == str_replace(".xml", "", strtolower(basename($_distribution)))) {
|
||||||
$dist = new \Froxlor\Config\ConfigParser($_distribution);
|
$dist = new \Froxlor\Config\ConfigParser($_distribution);
|
||||||
$defaults = $dist->getDefaults();
|
$defaults = $dist->getDefaults();
|
||||||
foreach ($defaults->property as $property) {
|
if (!empty($defaults)) {
|
||||||
$this->_updateSetting($upd_stmt, $property->value, $property->settinggroup, $property->varname);
|
foreach ($defaults as $property) {
|
||||||
|
$this->_updateSetting($upd_stmt, $property->attributes()->value, $property->attributes()->settinggroup, $property->attributes()->varname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
$this->_updateSetting($upd_stmt, $this->_data['activate_newsfeed'], 'admin', 'show_news_feed');
|
$this->_updateSetting($upd_stmt, $this->_data['activate_newsfeed'], 'admin', 'show_news_feed');
|
||||||
$this->_updateSetting($upd_stmt, dirname(dirname(dirname(__FILE__))), 'system', 'letsencryptchallengepath');
|
$this->_updateSetting($upd_stmt, dirname(dirname(dirname(__FILE__))), 'system', 'letsencryptchallengepath');
|
||||||
@@ -734,8 +741,26 @@ class FroxlorInstall
|
|||||||
|
|
||||||
private function _grantDbPrivilegesTo(&$db_root, $database, $username, $password, $access_host)
|
private function _grantDbPrivilegesTo(&$db_root, $database, $username, $password, $access_host)
|
||||||
{
|
{
|
||||||
|
// mariadb
|
||||||
|
if (version_compare($db_root->getAttribute(\PDO::ATTR_SERVER_VERSION), '10.0.0', '>=')) {
|
||||||
|
// create user
|
||||||
|
$stmt = $db_root->prepare("
|
||||||
|
CREATE USER '" . $username . "'@'" . $access_host . "' IDENTIFIED BY :password
|
||||||
|
");
|
||||||
|
$stmt->execute(array(
|
||||||
|
"password" => $password
|
||||||
|
));
|
||||||
|
// grant privileges
|
||||||
|
$stmt = $db_root->prepare("
|
||||||
|
GRANT ALL ON `" . $database . "`.* TO :username@:host
|
||||||
|
");
|
||||||
|
$stmt->execute(array(
|
||||||
|
"username" => $username,
|
||||||
|
"host" => $access_host
|
||||||
|
));
|
||||||
|
}
|
||||||
// mysql8 compatibility
|
// mysql8 compatibility
|
||||||
if (version_compare($db_root->getAttribute(\PDO::ATTR_SERVER_VERSION), '8.0.11', '>=')) {
|
elseif (version_compare($db_root->getAttribute(\PDO::ATTR_SERVER_VERSION), '8.0.11', '>=')) {
|
||||||
// create user
|
// create user
|
||||||
$stmt = $db_root->prepare("
|
$stmt = $db_root->prepare("
|
||||||
CREATE USER '" . $username . "'@'" . $access_host . "' IDENTIFIED WITH mysql_native_password BY :password
|
CREATE USER '" . $username . "'@'" . $access_host . "' IDENTIFIED WITH mysql_native_password BY :password
|
||||||
|
|||||||
0
install/lib/index.html
Normal file
0
install/lib/index.html
Normal file
0
install/lng/index.html
Normal file
0
install/lng/index.html
Normal file
@@ -28,4 +28,5 @@ try {
|
|||||||
\Froxlor\Cli\ConfigServicesCmd::processParameters($argc, $argv);
|
\Froxlor\Cli\ConfigServicesCmd::processParameters($argc, $argv);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
\Froxlor\Cli\ConfigServicesCmd::printerr($e->getMessage());
|
\Froxlor\Cli\ConfigServicesCmd::printerr($e->getMessage());
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
0
install/scripts/index.html
Normal file
0
install/scripts/index.html
Normal file
@@ -28,4 +28,5 @@ try {
|
|||||||
\Froxlor\Cli\SwitchServerIpCmd::processParameters($argc, $argv);
|
\Froxlor\Cli\SwitchServerIpCmd::processParameters($argc, $argv);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
\Froxlor\Cli\SwitchServerIpCmd::printerr($e->getMessage());
|
\Froxlor\Cli\SwitchServerIpCmd::printerr($e->getMessage());
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
0
install/templates/assets/css/index.html
Normal file
0
install/templates/assets/css/index.html
Normal file
0
install/templates/assets/index.html
Normal file
0
install/templates/assets/index.html
Normal file
0
install/templates/index.html
Normal file
0
install/templates/index.html
Normal file
0
install/updates/froxlor/0.10/index.html
Normal file
0
install/updates/froxlor/0.10/index.html
Normal file
@@ -970,3 +970,13 @@ if (\Froxlor\Froxlor::isFroxlorVersion('0.10.32')) {
|
|||||||
showUpdateStep("Updating from 0.10.32 to 0.10.33", false);
|
showUpdateStep("Updating from 0.10.32 to 0.10.33", false);
|
||||||
\Froxlor\Froxlor::updateToVersion('0.10.33');
|
\Froxlor\Froxlor::updateToVersion('0.10.33');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (\Froxlor\Froxlor::isFroxlorVersion('0.10.33')) {
|
||||||
|
showUpdateStep("Updating from 0.10.33 to 0.10.34", false);
|
||||||
|
\Froxlor\Froxlor::updateToVersion('0.10.34');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (\Froxlor\Froxlor::isFroxlorVersion('0.10.34')) {
|
||||||
|
showUpdateStep("Updating from 0.10.34 to 0.10.34.1", false);
|
||||||
|
\Froxlor\Froxlor::updateToVersion('0.10.34.1');
|
||||||
|
}
|
||||||
|
|||||||
0
install/updates/froxlor/0.9/index.html
Normal file
0
install/updates/froxlor/0.9/index.html
Normal file
0
install/updates/froxlor/index.html
Normal file
0
install/updates/froxlor/index.html
Normal file
0
install/updates/index.html
Normal file
0
install/updates/index.html
Normal file
0
install/updates/preconfig/0.10/index.html
Normal file
0
install/updates/preconfig/0.10/index.html
Normal file
0
install/updates/preconfig/0.9/index.html
Normal file
0
install/updates/preconfig/0.9/index.html
Normal file
0
install/updates/preconfig/index.html
Normal file
0
install/updates/preconfig/index.html
Normal file
0
js/index.html
Normal file
0
js/index.html
Normal file
0
js/plugins/index.html
Normal file
0
js/plugins/index.html
Normal file
@@ -297,6 +297,10 @@ abstract class ApiCommand extends ApiParameter
|
|||||||
$sortfield[$id] = $sfield;
|
$sortfield[$id] = $sfield;
|
||||||
}
|
}
|
||||||
$field = implode('.', $sortfield);
|
$field = implode('.', $sortfield);
|
||||||
|
if (preg_match('/^([a-z0-9\-\._`]+)$/i', $field) == false) {
|
||||||
|
// skip
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (! $first) {
|
if (! $first) {
|
||||||
$condition .= ' AND ';
|
$condition .= ' AND ';
|
||||||
}
|
}
|
||||||
@@ -313,6 +317,14 @@ abstract class ApiCommand extends ApiParameter
|
|||||||
} elseif (strtolower($valoper['op']) == 'in' && is_array($valoper['value']) && count($valoper['value']) > 0) {
|
} elseif (strtolower($valoper['op']) == 'in' && is_array($valoper['value']) && count($valoper['value']) > 0) {
|
||||||
$condition .= $field . ' ' . $valoper['op'] . ' (';
|
$condition .= $field . ' ' . $valoper['op'] . ' (';
|
||||||
foreach ($valoper['value'] as $incnt => $invalue) {
|
foreach ($valoper['value'] as $incnt => $invalue) {
|
||||||
|
if (!is_numeric($incnt)) {
|
||||||
|
// skip
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (!empty($invalue) && preg_match('/^([a-z0-9\-\._`]+)$/i', $invalue) == false) {
|
||||||
|
// skip
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$condition .= ":" . $cleanfield . $incnt . ", ";
|
$condition .= ":" . $cleanfield . $incnt . ", ";
|
||||||
$query_fields[':' . $cleanfield . $incnt] = $invalue ?? '';
|
$query_fields[':' . $cleanfield . $incnt] = $invalue ?? '';
|
||||||
}
|
}
|
||||||
@@ -398,6 +410,10 @@ abstract class ApiCommand extends ApiParameter
|
|||||||
$sortfield[$id] = $sfield;
|
$sortfield[$id] = $sfield;
|
||||||
}
|
}
|
||||||
$field = implode('.', $sortfield);
|
$field = implode('.', $sortfield);
|
||||||
|
if (preg_match('/^([a-z0-9\-\._`]+)$/i', $field) == false) {
|
||||||
|
// skip
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$by = strtoupper($by);
|
$by = strtoupper($by);
|
||||||
if (! in_array($by, [
|
if (! in_array($by, [
|
||||||
'ASC',
|
'ASC',
|
||||||
@@ -423,6 +439,7 @@ abstract class ApiCommand extends ApiParameter
|
|||||||
return $order;
|
return $order;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return logger instance
|
* return logger instance
|
||||||
*
|
*
|
||||||
|
|||||||
0
lib/Froxlor/Api/Commands/index.html
Normal file
0
lib/Froxlor/Api/Commands/index.html
Normal file
0
lib/Froxlor/Api/index.html
Normal file
0
lib/Froxlor/Api/index.html
Normal file
0
lib/Froxlor/Bulk/index.html
Normal file
0
lib/Froxlor/Bulk/index.html
Normal file
0
lib/Froxlor/Cli/Action/index.html
Normal file
0
lib/Froxlor/Cli/Action/index.html
Normal file
0
lib/Froxlor/Cli/index.html
Normal file
0
lib/Froxlor/Cli/index.html
Normal file
@@ -182,7 +182,7 @@ class ConfigParser
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse the XML and populate $this->services
|
* Parse the XML and populate $this->defaults
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
@@ -194,9 +194,9 @@ class ConfigParser
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get all defaults
|
// Get all defaults
|
||||||
$defaults = $this->xml->xpath('//defaults');
|
$defaults = $this->xml->xpath('//defaults/default');
|
||||||
foreach ($defaults as $default) {
|
foreach ($defaults as $default) {
|
||||||
$this->defaults = $default;
|
$this->defaults[] = $default;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Switch flag to indicate we parsed our data
|
// Switch flag to indicate we parsed our data
|
||||||
|
|||||||
0
lib/Froxlor/Config/index.html
Normal file
0
lib/Froxlor/Config/index.html
Normal file
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Froxlor\Cron;
|
namespace Froxlor\Cron;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -18,6 +19,7 @@ namespace Froxlor\Cron;
|
|||||||
* @since 0.10.0
|
* @since 0.10.0
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Froxlor\Database\Database;
|
use Froxlor\Database\Database;
|
||||||
use Froxlor\Settings;
|
use Froxlor\Settings;
|
||||||
|
|
||||||
@@ -56,6 +58,12 @@ class CronConfig
|
|||||||
SELECT * FROM `" . TABLE_PANEL_CRONRUNS . "` WHERE `isactive` = '1'
|
SELECT * FROM `" . TABLE_PANEL_CRONRUNS . "` WHERE `isactive` = '1'
|
||||||
");
|
");
|
||||||
|
|
||||||
|
$binpath = Settings::Get("system.croncmdline");
|
||||||
|
// fallback as it is important
|
||||||
|
if ($binpath === null) {
|
||||||
|
$binpath = "/usr/bin/nice -n 5 /usr/bin/php -q";
|
||||||
|
}
|
||||||
|
|
||||||
$hour_delay = 0;
|
$hour_delay = 0;
|
||||||
$day_delay = 5;
|
$day_delay = 5;
|
||||||
$month_delay = 7;
|
$month_delay = 7;
|
||||||
@@ -96,20 +104,14 @@ class CronConfig
|
|||||||
}
|
}
|
||||||
|
|
||||||
// create entry-line
|
// create entry-line
|
||||||
$binpath = Settings::Get("system.croncmdline");
|
|
||||||
// fallback as it is important
|
|
||||||
if ($binpath === null) {
|
|
||||||
$binpath = "/usr/bin/nice -n 5 /usr/bin/php -q";
|
|
||||||
}
|
|
||||||
|
|
||||||
$cronfile .= "root " . $binpath . " " . \Froxlor\FileDir::makeCorrectFile(\Froxlor\Froxlor::getInstallDir() . "/scripts/froxlor_master_cronjob.php") . " --" . $row_cronentry['cronfile'] . " 1> /dev/null\n";
|
$cronfile .= "root " . $binpath . " " . \Froxlor\FileDir::makeCorrectFile(\Froxlor\Froxlor::getInstallDir() . "/scripts/froxlor_master_cronjob.php") . " --" . $row_cronentry['cronfile'] . " 1> /dev/null\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// php sessionclean if enabled
|
// php sessionclean if enabled
|
||||||
if ((int) Settings::Get('phpfpm.enabled') == 1) {
|
if ((int) Settings::Get('phpfpm.enabled') == 1) {
|
||||||
$cronfile .= "# Look for and purge old sessions every 30 minutes".PHP_EOL;
|
$cronfile .= "# Look for and purge old sessions every 30 minutes" . PHP_EOL;
|
||||||
$cronfile .= "09,39 * * * * root " . \Froxlor\FileDir::makeCorrectFile(\Froxlor\Froxlor::getInstallDir() . "/scripts/php-sessionclean.php") . " --froxlor-dir=" . escapeshellarg(\Froxlor\Froxlor::getInstallDir()) . " 1> /dev/null" . PHP_EOL;
|
$cronfile .= "09,39 * * * * root " . $binpath . " " . \Froxlor\FileDir::makeCorrectFile(\Froxlor\Froxlor::getInstallDir() . "/scripts/php-sessionclean.php") . " --froxlor-dir=" . escapeshellarg(\Froxlor\Froxlor::getInstallDir()) . " 1> /dev/null" . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\Froxlor\FileDir::isFreeBSD()) {
|
if (\Froxlor\FileDir::isFreeBSD()) {
|
||||||
@@ -127,7 +129,7 @@ class CronConfig
|
|||||||
$newcrontab = "";
|
$newcrontab = "";
|
||||||
foreach ($crontablines as $ctl) {
|
foreach ($crontablines as $ctl) {
|
||||||
$ctl = trim($ctl);
|
$ctl = trim($ctl);
|
||||||
if (! empty($ctl) && ! preg_match("/(.*)froxlor_master_cronjob\.php(.*)/", $ctl)) {
|
if (!empty($ctl) && !preg_match("/(.*)froxlor_master_cronjob\.php(.*)/", $ctl)) {
|
||||||
$newcrontab .= $ctl . "\n";
|
$newcrontab .= $ctl . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
0
lib/Froxlor/Cron/Dns/index.html
Normal file
0
lib/Froxlor/Cron/Dns/index.html
Normal file
@@ -773,6 +773,7 @@ class Apache extends HttpConfigBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Settings::Get('system.logfiles_piped') == '1' && Settings::Get('system.logfiles_script') != '') {
|
if (Settings::Get('system.logfiles_piped') == '1' && Settings::Get('system.logfiles_script') != '') {
|
||||||
|
if ($domain['writeerrorlog']) {
|
||||||
// replace for error_log
|
// replace for error_log
|
||||||
$command = \Froxlor\PhpHelper::replaceVariables(Settings::Get('system.logfiles_script'), array(
|
$command = \Froxlor\PhpHelper::replaceVariables(Settings::Get('system.logfiles_script'), array(
|
||||||
'LOGFILE' => $error_log,
|
'LOGFILE' => $error_log,
|
||||||
@@ -780,6 +781,10 @@ class Apache extends HttpConfigBase
|
|||||||
'CUSTOMER' => $domain['loginname']
|
'CUSTOMER' => $domain['loginname']
|
||||||
));
|
));
|
||||||
$logfiles_text .= ' ErrorLog "|' . $command . "\"\n";
|
$logfiles_text .= ' ErrorLog "|' . $command . "\"\n";
|
||||||
|
} else {
|
||||||
|
$logfiles_text .= ' ErrorLog "' . $error_log . '"' . "\n";
|
||||||
|
}
|
||||||
|
if ($domain['writeaccesslog']) {
|
||||||
// replace for access_log
|
// replace for access_log
|
||||||
$command = \Froxlor\PhpHelper::replaceVariables(Settings::Get('system.logfiles_script'), array(
|
$command = \Froxlor\PhpHelper::replaceVariables(Settings::Get('system.logfiles_script'), array(
|
||||||
'LOGFILE' => $access_log,
|
'LOGFILE' => $access_log,
|
||||||
@@ -787,6 +792,9 @@ class Apache extends HttpConfigBase
|
|||||||
'CUSTOMER' => $domain['loginname']
|
'CUSTOMER' => $domain['loginname']
|
||||||
));
|
));
|
||||||
$logfiles_text .= ' CustomLog "|' . $command . '" ' . $logtype . "\n";
|
$logfiles_text .= ' CustomLog "|' . $command . '" ' . $logtype . "\n";
|
||||||
|
} else {
|
||||||
|
$logfiles_text .= ' CustomLog "' . $access_log . '" ' . $logtype . "\n";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$logfiles_text .= ' ErrorLog "' . $error_log . '"' . "\n";
|
$logfiles_text .= ' ErrorLog "' . $error_log . '"' . "\n";
|
||||||
$logfiles_text .= ' CustomLog "' . $access_log . '" ' . $logtype . "\n";
|
$logfiles_text .= ' CustomLog "' . $access_log . '" ' . $logtype . "\n";
|
||||||
|
|||||||
0
lib/Froxlor/Cron/Http/LetsEncrypt/index.html
Normal file
0
lib/Froxlor/Cron/Http/LetsEncrypt/index.html
Normal file
@@ -251,7 +251,7 @@ class Lighttpd extends HttpConfigBase
|
|||||||
// check for existence, #1485
|
// check for existence, #1485
|
||||||
if (! file_exists($domain['ssl_ca_file'])) {
|
if (! file_exists($domain['ssl_ca_file'])) {
|
||||||
$this->logger->logAction(\Froxlor\FroxlorLogger::CRON_ACTION, LOG_ERR, $ip . ':' . $port . ' :: certificate CA file "' . $domain['ssl_ca_file'] . '" does not exist! Cannot create ssl-directives');
|
$this->logger->logAction(\Froxlor\FroxlorLogger::CRON_ACTION, LOG_ERR, $ip . ':' . $port . ' :: certificate CA file "' . $domain['ssl_ca_file'] . '" does not exist! Cannot create ssl-directives');
|
||||||
echo $ip . ':' . port . ' :: certificate CA file "' . $domain['ssl_ca_file'] . '" does not exist! SSL-directives might not be working' . "\n";
|
echo $ip . ':' . $port . ' :: certificate CA file "' . $domain['ssl_ca_file'] . '" does not exist! SSL-directives might not be working' . "\n";
|
||||||
} else {
|
} else {
|
||||||
$this->lighttpd_data[$vhost_filename] .= 'ssl.ca-file = "' . \Froxlor\FileDir::makeCorrectFile($domain['ssl_ca_file']) . '"' . "\n";
|
$this->lighttpd_data[$vhost_filename] .= 'ssl.ca-file = "' . \Froxlor\FileDir::makeCorrectFile($domain['ssl_ca_file']) . '"' . "\n";
|
||||||
}
|
}
|
||||||
|
|||||||
0
lib/Froxlor/Cron/Http/Php/index.html
Normal file
0
lib/Froxlor/Cron/Http/Php/index.html
Normal file
0
lib/Froxlor/Cron/Http/index.html
Normal file
0
lib/Froxlor/Cron/Http/index.html
Normal file
0
lib/Froxlor/Cron/System/index.html
Normal file
0
lib/Froxlor/Cron/System/index.html
Normal file
0
lib/Froxlor/Cron/Traffic/index.html
Normal file
0
lib/Froxlor/Cron/Traffic/index.html
Normal file
0
lib/Froxlor/Cron/index.html
Normal file
0
lib/Froxlor/Cron/index.html
Normal file
0
lib/Froxlor/Customer/index.html
Normal file
0
lib/Froxlor/Customer/index.html
Normal file
0
lib/Froxlor/Database/Manager/index.html
Normal file
0
lib/Froxlor/Database/Manager/index.html
Normal file
0
lib/Froxlor/Database/index.html
Normal file
0
lib/Froxlor/Database/index.html
Normal file
0
lib/Froxlor/Dns/index.html
Normal file
0
lib/Froxlor/Dns/index.html
Normal file
0
lib/Froxlor/Domain/index.html
Normal file
0
lib/Froxlor/Domain/index.html
Normal file
@@ -7,7 +7,7 @@ final class Froxlor
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Main version variable
|
// Main version variable
|
||||||
const VERSION = '0.10.33';
|
const VERSION = '0.10.34.1';
|
||||||
|
|
||||||
// Database version (YYYYMMDDC where C is a daily counter)
|
// Database version (YYYYMMDDC where C is a daily counter)
|
||||||
const DBVERSION = '202112310';
|
const DBVERSION = '202112310';
|
||||||
|
|||||||
0
lib/Froxlor/Http/index.html
Normal file
0
lib/Froxlor/Http/index.html
Normal file
0
lib/Froxlor/Idna/index.html
Normal file
0
lib/Froxlor/Idna/index.html
Normal file
0
lib/Froxlor/Settings/index.html
Normal file
0
lib/Froxlor/Settings/index.html
Normal file
0
lib/Froxlor/System/index.html
Normal file
0
lib/Froxlor/System/index.html
Normal file
0
lib/Froxlor/UI/index.html
Normal file
0
lib/Froxlor/UI/index.html
Normal file
0
lib/Froxlor/Validate/Form/index.html
Normal file
0
lib/Froxlor/Validate/Form/index.html
Normal file
0
lib/Froxlor/Validate/index.html
Normal file
0
lib/Froxlor/Validate/index.html
Normal file
0
lib/Froxlor/index.html
Normal file
0
lib/Froxlor/index.html
Normal file
@@ -1600,7 +1600,7 @@ root: root@<SERVERNAME>
|
|||||||
# is /etc/mailname.
|
# is /etc/mailname.
|
||||||
#myorigin = /etc/mailname
|
#myorigin = /etc/mailname
|
||||||
|
|
||||||
smtpd_banner = $myhostname ESMTP $mail_name (@@DISTRO@@)
|
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
|
||||||
biff = no
|
biff = no
|
||||||
|
|
||||||
# appending .domain is the MUA's job.
|
# appending .domain is the MUA's job.
|
||||||
|
|||||||
0
lib/configfiles/index.html
Normal file
0
lib/configfiles/index.html
Normal file
0
lib/formfields/admin/admin/index.html
Normal file
0
lib/formfields/admin/admin/index.html
Normal file
0
lib/formfields/admin/cronjobs/index.html
Normal file
0
lib/formfields/admin/cronjobs/index.html
Normal file
0
lib/formfields/admin/customer/index.html
Normal file
0
lib/formfields/admin/customer/index.html
Normal file
0
lib/formfields/admin/domains/index.html
Normal file
0
lib/formfields/admin/domains/index.html
Normal file
0
lib/formfields/admin/index.html
Normal file
0
lib/formfields/admin/index.html
Normal file
0
lib/formfields/admin/ipsandports/index.html
Normal file
0
lib/formfields/admin/ipsandports/index.html
Normal file
0
lib/formfields/admin/phpconfig/index.html
Normal file
0
lib/formfields/admin/phpconfig/index.html
Normal file
0
lib/formfields/admin/plans/index.html
Normal file
0
lib/formfields/admin/plans/index.html
Normal file
0
lib/formfields/admin/templates/index.html
Normal file
0
lib/formfields/admin/templates/index.html
Normal file
0
lib/formfields/customer/domains/index.html
Normal file
0
lib/formfields/customer/domains/index.html
Normal file
0
lib/formfields/customer/email/index.html
Normal file
0
lib/formfields/customer/email/index.html
Normal file
0
lib/formfields/customer/extras/index.html
Normal file
0
lib/formfields/customer/extras/index.html
Normal file
0
lib/formfields/customer/ftp/index.html
Normal file
0
lib/formfields/customer/ftp/index.html
Normal file
0
lib/formfields/customer/index.html
Normal file
0
lib/formfields/customer/index.html
Normal file
0
lib/formfields/customer/mysql/index.html
Normal file
0
lib/formfields/customer/mysql/index.html
Normal file
0
lib/formfields/index.html
Normal file
0
lib/formfields/index.html
Normal file
0
lib/index.html
Normal file
0
lib/index.html
Normal file
0
lib/navigation/index.html
Normal file
0
lib/navigation/index.html
Normal file
@@ -410,7 +410,7 @@ $lng['admin']['ipsandports']['port'] = 'Port';
|
|||||||
|
|
||||||
// ADDED IN 1.2.13-rc3
|
// ADDED IN 1.2.13-rc3
|
||||||
|
|
||||||
$lng['error']['cantchangesystemip'] = 'Sie können die letzte System-IP-Adresse nicht löschen. Entweder legen Sie eine neue IP/Port-Kombination an oder Sie ändern die System-IP-Adresse.';
|
$lng['error']['cantchangesystemip'] = 'Sie können die letzte System-IP-Adresse nicht ändern. Entweder legen Sie eine neue IP/Port-Kombination an oder Sie ändern die System-IP-Adresse.';
|
||||||
$lng['question']['admin_domain_reallydocrootoutofcustomerroot'] = 'Sind Sie sicher, dass der DocumentRoot dieser Domain außerhalb des Heimatverzeichnisses des Kunden liegen soll?';
|
$lng['question']['admin_domain_reallydocrootoutofcustomerroot'] = 'Sind Sie sicher, dass der DocumentRoot dieser Domain außerhalb des Heimatverzeichnisses des Kunden liegen soll?';
|
||||||
|
|
||||||
// ADDED IN 1.2.14-rc1
|
// ADDED IN 1.2.14-rc1
|
||||||
|
|||||||
0
lng/index.html
Normal file
0
lng/index.html
Normal file
0
scripts/index.html
Normal file
0
scripts/index.html
Normal file
@@ -28,4 +28,5 @@ try {
|
|||||||
\Froxlor\Cli\PhpSessioncleanCmd::processParameters($argc, $argv);
|
\Froxlor\Cli\PhpSessioncleanCmd::processParameters($argc, $argv);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
\Froxlor\Cli\PhpSessioncleanCmd::printerr($e->getMessage());
|
\Froxlor\Cli\PhpSessioncleanCmd::printerr($e->getMessage());
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
0
templates/Sparkle/2fa/index.html
vendored
Normal file
0
templates/Sparkle/2fa/index.html
vendored
Normal file
0
templates/Sparkle/admin/admins/index.html
vendored
Normal file
0
templates/Sparkle/admin/admins/index.html
vendored
Normal file
0
templates/Sparkle/admin/configfiles/index.html
vendored
Normal file
0
templates/Sparkle/admin/configfiles/index.html
vendored
Normal file
0
templates/Sparkle/admin/cronjobs/index.html
vendored
Normal file
0
templates/Sparkle/admin/cronjobs/index.html
vendored
Normal file
0
templates/Sparkle/admin/customers/index.html
vendored
Normal file
0
templates/Sparkle/admin/customers/index.html
vendored
Normal file
0
templates/Sparkle/admin/domains/index.html
vendored
Normal file
0
templates/Sparkle/admin/domains/index.html
vendored
Normal file
0
templates/Sparkle/admin/index.html
vendored
Normal file
0
templates/Sparkle/admin/index.html
vendored
Normal file
0
templates/Sparkle/admin/index/index.html
vendored
Normal file
0
templates/Sparkle/admin/index/index.html
vendored
Normal file
0
templates/Sparkle/admin/ipsandports/index.html
vendored
Normal file
0
templates/Sparkle/admin/ipsandports/index.html
vendored
Normal file
0
templates/Sparkle/admin/logger/index.html
vendored
Normal file
0
templates/Sparkle/admin/logger/index.html
vendored
Normal file
0
templates/Sparkle/admin/message/index.html
vendored
Normal file
0
templates/Sparkle/admin/message/index.html
vendored
Normal file
0
templates/Sparkle/admin/phpconfig/index.html
vendored
Normal file
0
templates/Sparkle/admin/phpconfig/index.html
vendored
Normal file
0
templates/Sparkle/admin/plans/index.html
vendored
Normal file
0
templates/Sparkle/admin/plans/index.html
vendored
Normal file
0
templates/Sparkle/admin/settings/apcuinfo/index.html
vendored
Normal file
0
templates/Sparkle/admin/settings/apcuinfo/index.html
vendored
Normal file
0
templates/Sparkle/admin/settings/importexport/index.html
vendored
Normal file
0
templates/Sparkle/admin/settings/importexport/index.html
vendored
Normal file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user