Skip to content

Commit

Permalink
set version to 0.10.0-rc1 for upcoming release candidate
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Apr 10, 2019
1 parent 13ac7ef commit 2936583
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions install/froxlor.sql
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,8 @@ opcache.interned_strings_buffer'),
('panel', 'password_special_char', '!?<>§$%+#=@'),
('panel', 'customer_hide_options', ''),
('panel', 'is_configured', '0'),
('panel', 'version', '0.10.0'),
('panel', 'db_version', '201902210');
('panel', 'version', '0.10.0-rc1'),
('panel', 'db_version', '201904100');


DROP TABLE IF EXISTS `panel_tasks`;
Expand Down
11 changes: 9 additions & 2 deletions install/updates/froxlor/0.10/update_0.10.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

if (\Froxlor\Froxlor::isFroxlorVersion('0.9.40.1')) {
showUpdateStep("Updating from 0.9.40.1 to 0.10.0", false);
showUpdateStep("Updating from 0.9.40.1 to 0.10.0-rc1", false);

showUpdateStep("Adding new api keys table");
Database::query("DROP TABLE IF EXISTS `api_keys`;");
Expand Down Expand Up @@ -68,7 +68,7 @@
}
lastStepStatus(0);

\Froxlor\Froxlor::updateToVersion('0.10.0');
\Froxlor\Froxlor::updateToVersion('0.10.0-rc1');
}

if (\Froxlor\Froxlor::isDatabaseVersion('201809280')) {
Expand Down Expand Up @@ -233,3 +233,10 @@

\Froxlor\Froxlor::updateToDbVersion('201902210');
}

if (\Froxlor\Froxlor::isDatabaseVersion('201902210')) {

// set correct version for people that have tested 0.10.0 before
\Froxlor\Froxlor::updateToVersion('0.10.0-rc1');
\Froxlor\Froxlor::updateToDbVersion('201904100');
}
4 changes: 2 additions & 2 deletions lib/Froxlor/Cron/Http/Apache.php
Original file line number Diff line number Diff line change
Expand Up @@ -784,14 +784,14 @@ protected function getLogfiles($domain)
'DOMAIN' => $domain['domain'],
'CUSTOMER' => $domain['loginname']
));
$logfiles_text .= ' ErrorLog "| ' . $command . "\"\n";
$logfiles_text .= ' ErrorLog "|' . $command . "\"\n";
// replace for access_log
$command = \Froxlor\PhpHelper::replaceVariables(Settings::Get('system.logfiles_script'), array(
'LOGFILE' => $access_log,
'DOMAIN' => $domain['domain'],
'CUSTOMER' => $domain['loginname']
));
$logfiles_text .= ' CustomLog "| ' . $command . '" ' . $logtype . "\n";
$logfiles_text .= ' CustomLog "|' . $command . '" ' . $logtype . "\n";
} else {
// Create the logfile if it does not exist (fixes #46)
touch($error_log);
Expand Down
4 changes: 2 additions & 2 deletions lib/Froxlor/Froxlor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ final class Froxlor
{

// Main version variable
const VERSION = '0.10.0';
const VERSION = '0.10.0-rc1';

// Database version (YYYYMMDDC where C is a daily counter)
const DBVERSION = '201902210';
const DBVERSION = '201904100';

// Distribution branding-tag (used for Debian etc.)
const BRANDING = '';
Expand Down

0 comments on commit 2936583

Please sign in to comment.