'.' is not in the include path for Polytechnique.org, so the previous patch
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 27 Oct 2005 22:11:47 +0000 (22:11 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 27 Oct 2005 22:11:47 +0000 (22:11 +0000)
introduced a bug.

here, the include is absolute, and should work in any environment (except
windows that uses \ for directories ....)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@146 839d8a87-29fc-0310-9880-83ba4fa771e5

include/exalead/exalead.parser.inc.php

index cfe5796..4905296 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-require_once('exalead.class.php');
+require_once(dirname(__FILE__).'/exalead.class.php');
 
 function convert_url($string)
 {