Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mnet/publickey.php
Go to the documentation of this file.
00001 <?php
00011 require_once(dirname(dirname(__FILE__)) . '/config.php');
00012 require_once $CFG->dirroot.'/mnet/lib.php';
00013 
00014 if ($CFG->mnet_dispatcher_mode === 'off') {
00015     print_error('mnetdisabled', 'mnet');
00016 }
00017 
00018 header("Content-type: text/plain; charset=utf-8");
00019 $keypair = mnet_get_keypair();
00020 echo $keypair['certificate'];
 All Data Structures Namespaces Files Functions Variables Enumerations