Fixing bug in including captcha -refs #6373

1.9.x
unknown 12 years ago
parent 520f6a5cc6
commit 766005d4f9
  1. 3
      main/inc/lib/pear/Image/Text/Exception.php
  2. 3
      main/inc/lib/pear/Text/CAPTCHA/Exception.php

@ -10,7 +10,8 @@
* @license http://www.php.net/license/3_01.txt PHP License
* @link http://pear.php.net/package/Image_Text
*/
require_once 'PEAR/Exception.php';
$lib_path = api_get_path(LIBRARY_PATH);
require_once $lib_path.'/pear/Exception.php';
/**
* Exception for Image_Text
*

@ -12,7 +12,8 @@
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @link http://pear.php.net/package/Text_CAPTCHA
*/
require_once 'PEAR/Exception.php';
$lib_path = api_get_path(LIBRARY_PATH);
require_once $lib_path.'/pear/Exception.php';
/**
* Exception for Text_CAPTCHA
*

Loading…
Cancel
Save