mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-09 15:27:32 +00:00
Update Bootstrap: 4.0.0 -> 4.5.3
This commit is contained in:
parent
f17535ff81
commit
70778aea43
14
inc/css/bootstrap.min.css
vendored
14
inc/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -136,6 +136,8 @@ class Settings {
|
|||||||
|
|
||||||
/** Don't modify anything here unless you know what you're doing **/
|
/** Don't modify anything here unless you know what you're doing **/
|
||||||
|
|
||||||
|
date_default_timezone_set($this->timezone);
|
||||||
|
|
||||||
if ($this->error_reporting) {
|
if ($this->error_reporting) {
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
ini_set("display_errors", 1);
|
ini_set("display_errors", 1);
|
||||||
@ -254,9 +256,6 @@ class Settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function test_strftime() {
|
private function test_strftime() {
|
||||||
// If you modify this function, you may get an "Assertion failed" error.
|
|
||||||
date_default_timezone_set("UTC"); // temporarily set UTC timezone for testing purposes
|
|
||||||
|
|
||||||
$test = gmstrftime($this->date_format, 0);
|
$test = gmstrftime($this->date_format, 0);
|
||||||
if ($test == false) {
|
if ($test == false) {
|
||||||
ob_start();
|
ob_start();
|
||||||
@ -272,7 +271,6 @@ class Settings {
|
|||||||
$testdump = ob_get_clean();
|
$testdump = ob_get_clean();
|
||||||
die("Assertion failed: gmstrftime(\"%Y-%m-%d %H:%M\",0) != \"1970-01-01 00:00\"<br>Actual result: $testdump");
|
die("Assertion failed: gmstrftime(\"%Y-%m-%d %H:%M\",0) != \"1970-01-01 00:00\"<br>Actual result: $testdump");
|
||||||
}
|
}
|
||||||
date_default_timezone_set($this->timezone); // set configured timezone
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user