Page MenuHomePhabricator

jsinfo.php
No OneTemporary

jsinfo.php

<?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

Mime Type
text/x-php
Expires
Thu, Jan 23, 6:23 PM (11 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
925698
Default Alt Text
jsinfo.php (564 B)

Event Timeline