]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-PEAR.patch
- add post 1.5.4 fixes
[packages/eventum.git] / eventum-PEAR.patch
1 --- eventum-1.4/setup/config.inc.php~   2005-01-25 23:50:53.000000000 +0200
2 +++ eventum-1.4/setup/config.inc.php    2005-01-25 23:51:23.000000000 +0200
3 @@ -54,9 +54,9 @@
4  }
5  @define("APP_PATH", $app_path);
6  @define("APP_INC_PATH", APP_PATH . "include/");
7 -@define("APP_PEAR_PATH", APP_INC_PATH . "pear/");
8 +@define("APP_PEAR_PATH", "/usr/share/pear/");
9  @define("APP_TPL_PATH", APP_PATH . "templates/");
10 -@define("APP_SMARTY_PATH", APP_INC_PATH . "Smarty/");
11 +@define("APP_SMARTY_PATH", APP_PEAR_PATH . "Smarty/");
12  @define("APP_JPGRAPH_PATH", APP_INC_PATH . "jpgraph/");
13  @define("APP_LOG_PATH", "/var/log/eventum/");
14  @define("APP_LOCKS_PATH", "/var/run/eventum/");
15 --- eventum-1.4/setup/index.php~        2005-01-25 23:52:31.000000000 +0200
16 +++ eventum-1.4/setup/index.php 2005-01-25 23:52:33.000000000 +0200
17 @@ -199,7 +199,7 @@
18  }
19  
20  ini_set("include_path", '.');
21 -include_once("../include/Smarty/Smarty.class.php");
22 +include_once("/usr/share/pear/Smarty/Smarty.class.php");
23  
24  $tpl = new Smarty();
25  $tpl->template_dir = '../templates/en';
26 --- ./rpc/xmlrpc.php~   2005-01-05 01:06:19.000000000 +0200
27 +++ ./rpc/xmlrpc.php    2005-01-25 16:35:14.000000000 +0200
28 @@ -41,7 +41,7 @@
29  include_once(APP_INC_PATH . "class.template.php");
30  include_once(APP_INC_PATH . "class.customer.php");
31  error_reporting(0);
32 -include_once(APP_PEAR_PATH . "XML_RPC/Server.php");
33 +include_once(APP_PEAR_PATH . "XML/RPC/Server.php");
34  
35  function authenticate($email, $password)
36  {
37 --- ./include/class.notification.php~   2005-01-05 01:06:19.000000000 +0200
38 +++ ./include/class.notification.php    2005-01-25 16:41:23.000000000 +0200
39 @@ -613,9 +613,9 @@
40          }
41          if ($old["iss_description"] != $new["description"]) {
42              // need real diff engine here
43 -            include_once 'Text_Diff/Diff.php';
44 -            include_once 'Text_Diff/Diff/Renderer.php';
45 -            include_once 'Text_Diff/Diff/Renderer/unified.php';
46 +            include_once 'Text/Diff.php';
47 +            include_once 'Text/Diff/Renderer.php';
48 +            include_once 'Text/Diff/Renderer/unified.php';
49              $old['iss_description'] = explode("\n", $old['iss_description']);
50              $new['description'] = explode("\n", $new['description']);
51              $diff = &new Text_Diff($old["iss_description"], $new["description"]);
This page took 0.081634 seconds and 3 git commands to generate.