[packages/eventum/dev-3.0] rediff init.php patching

glen glen at pld-linux.org
Mon Sep 14 12:24:27 CEST 2015


commit f3f4d4af51da0eef6485a2ae595eb307cdb1c5fa
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Sep 14 13:24:17 2015 +0300

    rediff init.php patching

 eventum-paths.patch | 38 +++++++++++++++-----------------------
 1 file changed, 15 insertions(+), 23 deletions(-)
---
diff --git a/eventum-paths.patch b/eventum-paths.patch
index 956a7ea..ffbfa14 100644
--- a/eventum-paths.patch
+++ b/eventum-paths.patch
@@ -1,6 +1,6 @@
---- eventum-3.0.0/init.php~	2015-02-02 20:02:01.825332859 +0200
-+++ eventum-3.0.0/init.php	2015-02-02 20:03:12.610911011 +0200
-@@ -27,7 +27,7 @@
+--- eventum-3.0.2-28-g0d12f69.old/init.php	2015-09-14 13:20:59.450996838 +0300
++++ eventum-3.0.2-28-g0d12f69/init.php	2015-09-11 23:17:34.000000000 +0300
+@@ -28,7 +28,7 @@
  // | Authors: Elan Ruusamäe <glen at delfi.ee>                               |
  // +----------------------------------------------------------------------+
  
@@ -9,7 +9,7 @@
      Header('Location: setup/');
      exit(0);
  }
-@@ -47,7 +47,7 @@
+@@ -45,7 +45,7 @@
  // define base path
  define('APP_PATH', realpath(dirname(__FILE__)));
  if (!defined('APP_CONFIG_PATH')) {
@@ -18,8 +18,6 @@
  }
  
  // include local site config. may override any default
---- eventum-3.0.0/init.php~	2015-02-02 20:02:01.825332859 +0200
-+++ eventum-3.0.0/init.php	2015-02-02 20:03:12.610911011 +0200
 @@ -78,7 +78,7 @@
  }
  
@@ -29,7 +27,7 @@
  }
  
  if (!defined('APP_INC_PATH')) {
-@@ -81,7 +77,7 @@
+@@ -86,11 +86,11 @@
  }
  
  if (!defined('APP_LOCKS_PATH')) {
@@ -37,16 +35,21 @@
 +    define('APP_LOCKS_PATH', '/var/run/eventum/');
  }
  
- if (!defined('APP_SQL_PATCHES_PATH')) {
-@@ -89,7 +85,7 @@
- }
- 
  if (!defined('APP_LOG_PATH')) {
 -    define('APP_LOG_PATH', APP_PATH . '/logs');
 +    define('APP_LOG_PATH', '/var/log/eventum');
  }
  
- if (!defined('APP_ROUTED_MAILS_SAVEDIR')) {
+ if (!defined('APP_ERROR_LOG')) {
+@@ -197,6 +197,8 @@
+ }
+ 
+ require_once APP_PATH . '/autoload.php';
++# hack
++require_once '/usr/share/php/Smarty3/plugins/block.t.php';
+ 
+ // fix magic_quote_gpc'ed values
+ if (get_magic_quotes_gpc()) {
 --- eventum-3.0.0/htdocs/setup/index.php~	2015-02-02 20:03:49.507010317 +0200
 +++ eventum-3.0.0/htdocs/setup/index.php	2015-02-02 20:05:00.139257552 +0200
 @@ -44,10 +44,10 @@
@@ -154,14 +157,3 @@
  }
  
  // add PEAR to the include path, required by PEAR classes
---- ./init.php	2015-08-04 21:55:51.000000000 +0300
-+++ ./init.php	2015-07-02 22:16:40.638270324 +0300
-@@ -197,6 +197,8 @@
- }
- 
- require_once APP_PATH . '/autoload.php';
-+# hack
-+require_once '/usr/share/php/Smarty3/plugins/block.t.php';
- 
- // fix magic_quote_gpc'ed values
- if (get_magic_quotes_gpc()) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/f3f4d4af51da0eef6485a2ae595eb307cdb1c5fa



More information about the pld-cvs-commit mailing list