Add api_protect_webservices

pull/3912/head
Julio Montoya 4 years ago
parent 79ea6a8068
commit 98d2668e27
  1. 7
      main/webservices/user_info.soap.php

@ -1,15 +1,18 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
/** /**
* This script provides the caller service with user details. * This script provides the caller service with user details.
* It is set to work with the Chamilo module for Drupal: * It is set to work with the Chamilo module for Drupal:
* http://drupal.org/project/chamilo. * http://drupal.org/project/chamilo.
* *
* @author Yannick Warnier <yannick.warnier@dokeos.com> * @author Yannick Warnier <yannick.warnier@dokeos.com>
*
* @package chamilo.webservices
*/ */
require_once __DIR__.'/../inc/global.inc.php'; require_once __DIR__.'/../inc/global.inc.php';
api_protect_webservices();
// Create the server instance // Create the server instance
$server = new soap_server(); $server = new soap_server();
// Initialize WSDL support // Initialize WSDL support

Loading…
Cancel
Save