]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-PEAR.patch
- conditional dispelmagicquotes for the sake of performance for sane setups
[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 --- ./rpc/xmlrpc.php~   2005-01-05 01:06:19.000000000 +0200
16 +++ ./rpc/xmlrpc.php    2005-01-25 16:35:14.000000000 +0200
17 @@ -41,7 +41,7 @@
18  require_once(APP_INC_PATH . "class.template.php");
19  require_once(APP_INC_PATH . "class.customer.php");
20  error_reporting(0);
21 -require_once(APP_PEAR_PATH . "XML_RPC/Server.php");
22 +require_once(APP_PEAR_PATH . "XML/RPC/Server.php");
23  
24  function authenticate($email, $password)
25  {
26 --- ./include/class.notification.php~   2005-01-05 01:06:19.000000000 +0200
27 +++ ./include/class.notification.php    2005-01-25 16:41:23.000000000 +0200
28 @@ -613,9 +613,9 @@
29          }
30          if ($old["iss_description"] != $new["description"]) {
31              // need real diff engine here
32 -            require_once 'Text_Diff/Diff.php';
33 -            require_once 'Text_Diff/Diff/Renderer.php';
34 -            require_once 'Text_Diff/Diff/Renderer/unified.php';
35 +            require_once 'Text/Diff.php';
36 +            require_once 'Text/Diff/Renderer.php';
37 +            require_once 'Text/Diff/Renderer/unified.php';
38              $old['iss_description'] = explode("\n", $old['iss_description']);
39              $new['description'] = explode("\n", $new['description']);
40              $diff = &new Text_Diff($old["iss_description"], $new["description"]);
This page took 0.060658 seconds and 3 git commands to generate.