Skip to content

Commit

Permalink
set version to 0.10.1 for maintenance release
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Oct 10, 2019
1 parent 050af61 commit 9167608
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions admin_autoupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
$zip->close();
// success - remove unused archive
@unlink($localArchive);
// wait a bit before we redirect to be sure
sleep(2);
} else {
// error
\Froxlor\UI\Response::redirectTo($filename, array(
Expand Down
2 changes: 1 addition & 1 deletion install/froxlor.sql
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ opcache.interned_strings_buffer'),
('panel', 'password_special_char', '!?<>§$%+#=@'),
('panel', 'customer_hide_options', ''),
('panel', 'is_configured', '0'),
('panel', 'version', '0.10.0'),
('panel', 'version', '0.10.1'),
('panel', 'db_version', '201910090');


Expand Down
7 changes: 6 additions & 1 deletion install/updates/froxlor/0.10/update_0.10.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
lastStepStatus(0);
} else {
if (empty($del_list)) {
// non of the files existed
// none of the files existed
lastStepStatus(0);
} else {
lastStepStatus(1, 'manual commands needed');
Expand Down Expand Up @@ -354,3 +354,8 @@

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

if (\Froxlor\Froxlor::isFroxlorVersion('0.10.0')) {
showUpdateStep("Updating from 0.10.0 to 0.10.1 final", false);
\Froxlor\Froxlor::updateToVersion('0.10.1');
}
2 changes: 1 addition & 1 deletion lib/Froxlor/Froxlor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ final class Froxlor
{

// Main version variable
const VERSION = '0.10.0';
const VERSION = '0.10.1';

// Database version (YYYYMMDDC where C is a daily counter)
const DBVERSION = '201910090';
Expand Down
3 changes: 1 addition & 2 deletions lib/Froxlor/Validate/Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class Validate
*/
public static function validate($str, $fieldname, $pattern = '', $lng = '', $emptydefault = array(), $throw_exception = false)
{
global $log;

if (! is_array($emptydefault)) {
$emptydefault_array = array(
$emptydefault
Expand All @@ -48,6 +46,7 @@ public static function validate($str, $fieldname, $pattern = '', $lng = '', $emp
// everything else is removed from the string.
$allowed = "/[^a-z0-9\\040\\.\\-\\_\\\\]/i";
$str = preg_replace($allowed, "", $str);
$log = \Froxlor\FroxlorLogger::getInstanceOf();
$log->logAction(\Froxlor\FroxlorLogger::USR_ACTION, LOG_WARNING, "cleaned bad formatted string (" . $str . ")");
}
}
Expand Down

0 comments on commit 9167608

Please sign in to comment.