Merge branch 'dev'

This commit is contained in:
Christophe HENRY 2023-08-01 22:24:46 +02:00
commit a73614ffcc
3 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
=> https://keepachangelog.com/en/1.0.0/ The format is based on keep a Changelog.
=> https://semver.org/spec/v2.0.0.html And this project adheres to Semantic Versioning.
## [1.5.1] - 2023-08-01
* Adds style from Omar Polo's site, thanks to <lazarus at sdfeu.org>
* Fix getCss() calls, thanks to <lazarus at sdfeu.org>
* Fixes a bug on CSS when hosted on filesystem root
* Fix typo in the English documentation about Apache
## [1.5.0] - 2022-08-23
* Adds the Lagrange style, thanks to Eric <ortie10 at gmx.fr>
* Adds circumlunar css

View File

@ -1,6 +1,6 @@
```
__ __ __ ______
|\ \ |\ \ |\ \ /\ \ v1.5.0
|\ \ |\ \ |\ \ /\ \ v1.5.1
| ▓▓ | ▓▓_| ▓▓_ ______ ____ | ▓▓▓▓▓▓\
| ▓▓__| ▓▓ ▓▓ \ |\ \ \| ▓▓ __\▓▓/\ \| \ \
| ▓▓ ▓▓\▓▓▓▓▓▓ | ▓▓▓▓▓▓\▓▓▓▓\ ▓▓| \ ▓▓▓▓▓▓\ ▓▓▓▓▓▓\▓▓▓▓\

View File

@ -122,6 +122,7 @@ if (empty($style)) {
$gt_html->addCss($php_self_dir.DEFAULT_CSS);
} else {
$style = preg_replace("/,/", "/", $style);
if ("/" == $php_self_dir) $php_self_dir = ""; # dirname() never use a final slash except for the root
$gt_html->addCss("$php_self_dir/css/$style");
}