Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1879707
jsinfo.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
564 B
Subscribers
None
jsinfo.php
View Options
<?php
/**
* DokuWiki DAVCard PlugIn - JSINFO component
*/
if
(!
defined
(
'DOKU_INC'
))
die
();
class
action_plugin_davcard_jsinfo
extends
DokuWiki_Action_Plugin
{
function
register
(
Doku_Event_Handler
$controller
)
{
$controller
->
register_hook
(
'DOKUWIKI_STARTED'
,
'AFTER'
,
$this
,
'add_jsinfo_information'
);
}
/**
* Add the language variable to the JSINFO variable
*/
function
add_jsinfo_information
(
Doku_Event
$event
,
$param
)
{
global
$JSINFO
;
$JSINFO
[
'plugin'
][
'davcard'
][
'sectok'
]
=
getSecurityToken
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jan 23, 6:23 PM (14 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
925698
Default Alt Text
jsinfo.php (564 B)
Attached To
rDAVCARD DokuWiki davcard PlugIn
Event Timeline
Log In to Comment