DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:dokuwiki_started

DOKUWIKI_STARTED

Description:
DokuWiki prepares to do its work
DefaultAction:
none
Preventable:
no
Added:
2006-04-25

The event is signalled after Dokuwiki has completed its initialization phase and before it closes the session in doku.php. Most Dokuwiki globals will have been created and populated, the global $_SESSION var will still be in existence.

This is only true for the main DokuWiki template, i.e. whatever comes through doku.php. The mediamanager popup uses MEDIAMANAGER_STARTED instead (comes through lib/exe/mediamanager.php) and the image detail page uses DETAIL_STARTED.

If you need an even earlier event, check out INIT_LANG_LOAD, but note that not the whole environment is setup there. You could also check out AUTH_LOGIN_CHECK, but again, the whole environment is NOT setup there.

Note: Even after $_SESSION has been closed a plugin can reopen the session to access session data - as long as headers have not already been sent. For an example of this refer to lib/plugins/config/admin.php.

Passed Data

No data is passed.

See also

devel/event/dokuwiki_started.txt · Last modified: 2018-12-08 15:14 by torpedo