diff options
author | Andreas Gohr <andi@splitbrain.org> | 2024-01-17 18:53:46 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2024-01-17 19:04:39 +0100 |
commit | ac56bec8fe6fd490404eea13c205c47f81b471c7 (patch) | |
tree | 049be65b35a0c6bad2b1b87d62d5edf0209284e5 /_test/tests/inc/styleutils_cssstyleini.test.php | |
parent | f8dac3dfec171ceff96086d54eb36edf9155bed1 (diff) | |
download | dokuwiki-emptydirdefault.tar.gz dokuwiki-emptydirdefault.zip |
fall back to empty (root) dir for base dir detectionemptydirdefault
When a basedir could not be detected, the default previously was '.'
resulting in a valid but weird URL (http://example.com/./doku.php). We
now default to an empty dir, resulting in a more sensible URL of
http://example.com/doku.php
This should not matter in real web server setups but will be in effect
while testing.
Diffstat (limited to '_test/tests/inc/styleutils_cssstyleini.test.php')
-rw-r--r-- | _test/tests/inc/styleutils_cssstyleini.test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/tests/inc/styleutils_cssstyleini.test.php b/_test/tests/inc/styleutils_cssstyleini.test.php index 72528556e..248b14440 100644 --- a/_test/tests/inc/styleutils_cssstyleini.test.php +++ b/_test/tests/inc/styleutils_cssstyleini.test.php @@ -10,8 +10,8 @@ class styleutils_cssstyleini_test extends DokuWikiTest { array ( 'screen' => array ( - DOKU_CONF . 'tpl/dokuwiki/css/_tests.less' => '/./', - DOKU_INC . 'lib/tpl/dokuwiki/css/content.less' => '/./lib/tpl/dokuwiki/', + DOKU_CONF . 'tpl/dokuwiki/css/_tests.less' => '/', + DOKU_INC . 'lib/tpl/dokuwiki/css/content.less' => '/lib/tpl/dokuwiki/', ), ), 'replacements' => |