[svn r15383] Minor fix to inclusion path

skala
Yannick Warnier 17 years ago
parent cb0c0be61e
commit 2ca99b725d
  1. 2
      main/inc/lib/pear/Spreadsheet_Excel_Writer/Writer/Workbook.php

@ -375,7 +375,7 @@ class Spreadsheet_Excel_Writer_Workbook extends Spreadsheet_Excel_Writer_BIFFwri
*/
function &addValidator()
{
include_once 'Spreadsheet/Excel/Writer/Validator.php';
include_once(api_get_path(LIBRARY_PATH).'pear/Spreadsheet_Excel_Writer/Writer/Validator.php');
/* FIXME: check for successful inclusion*/
$valid = new Spreadsheet_Excel_Writer_Validator($this->_parser);
return $valid;

Loading…
Cancel
Save