History log of /plugin/acmenu/syntax.php (Results 1 – 25 of 72)
Revision Date Author Comments
# d8b2c326 12-Apr-2026 tormec <dcstoyanov@gmail.com>

typo


# 9afe8dbb 12-Apr-2026 tormec <dcstoyanov@gmail.com>

Merge branch 'master' of https://github.com/tormec/AcMenu


# c6e9feed 12-Apr-2026 tormec <dcstoyanov@gmail.com>

fixed #24


# d7a0819a 17-Nov-2025 Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com>

Fix DokuWiki indexer (indexer.php)

Hello,
When running the built-in command line tool to reindex DokuWiki through command line from the ``/bin`` directory of DokuWiki instead of it's root path ``/`

Fix DokuWiki indexer (indexer.php)

Hello,
When running the built-in command line tool to reindex DokuWiki through command line from the ``/bin`` directory of DokuWiki instead of it's root path ``/``, the AcMenu breaks the DokuWiki indexer:

```
su dokuwiki
cd /var/www/dokuwiki/bin
php indexer.php -c
sidebar... PHP Warning: scandir(./data/pages/): Failed to open directory: No such file or directory in /var/www/dokuwiki/lib/plugins/acmenu/syntax.php on line 257
PHP Warning: scandir(): (errno 0): Success in /var/www/dokuwiki/lib/plugins/acmenu/syntax.php on line 257
�� TypeError: array_diff(): Argument #1 ($array) must be of type array, bool given in /var/www/dok
```

It happens because ``conf["savedir"]`` DokuWiki setting assumes it's location being relative from DokuWiki root path (``./data``), so as ``/bin/data`` directory doesn't exist, it fails. This PR adds the ``init_path`` to parse the ``conf["savedir"]`` DokuWiki setting so the DokuWiki indexer finds the DokuWiki ``data`` path as expected.

show more ...


# 6736b407 22-Nov-2023 tormec <dcstoyanov@gmail.com>

differentiate css style for external namespaces


# 54803193 22-Nov-2023 tormec <dcstoyanov@gmail.com>

enhanced comments


# 1b08e3c7 22-Nov-2023 tormec <dcstoyanov@gmail.com>

comments enhanced


# 0c261c63 06-Nov-2023 tormec <dcstoyanov@gmail.com>

cleanup
see https://www.dokuwiki.org/devel:releases:refactor2020#general_cleanup_suggestions


# 46fe9fdb 05-Feb-2023 tormec <dcstoyanov@gmail.com>

amended docstrings


# 1724a73a 05-Feb-2023 tormec <dcstoyanov@gmail.com>

removed lines that causes jQuery not defined


# 1c14aa83 04-Feb-2023 tormec <dcstoyanov@gmail.com>

check $INFO['id'] not NULL otherwise #11


# 400c0e36 04-Feb-2023 tormec <dcstoyanov@gmail.com>

typo


# 5af9d586 04-Feb-2023 tormec <dcstoyanov@gmail.com>

fix #14 and also fix #11
using $ID instead of $INFO['id'] causes misprint


# 36f9124d 02-Feb-2023 tormec <dcstoyanov@gmail.com>

removed unused variable


# 254e5867 02-Feb-2023 tormec <dcstoyanov@gmail.com>

fixed issue #11
$INFO["id"] is not always as set (see https://bugs.dokuwiki.org/1320.html)


# 669d8b22 13-Apr-2020 tormec <dcstoyanov@gmail.com>

updated docstrings


# 47d7f604 05-Apr-2020 tormec <dcstoyanov@gmail.com>

fix #2


# 71fc7bb1 05-Apr-2020 tormec <dcstoyanov@gmail.com>

exec func in one single line


# 6b26a5c5 05-Apr-2020 tormec <dcstoyanov@gmail.com>

fix #1


# 8e35d5e8 04-Apr-2020 tormec <dcstoyanov@gmail.com>

respecting deaccent conf fixes #27 and #30


# 965b2b67 23-Mar-2020 tormec <dcstoyanov@gmail.com>

default is start page not renamed and on top


# c74c42f5 23-Mar-2020 tormec <dcstoyanov@gmail.com>

little edits to comments


# aac6d4b1 23-Mar-2020 tormec <dcstoyanov@gmail.com>

little edits to comments


# 6adae5b3 23-Mar-2020 tormec <dcstoyanov@gmail.com>

changed syntax style according PSR-12


# fe77eed7 23-Mar-2020 tormec <dcstoyanov@gmail.com>

updated the docstrings


123