]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-cvs-config.patch
config should be require not require_once
[packages/eventum.git] / eventum-cvs-config.patch
index 1dd385ba5ef93c78311fc0e18816d3ef51135c6f..f8623a8166d38134e9df2e7b93c118f31d5bc7bb 100644 (file)
@@ -1,36 +1,39 @@
---- eventum-r3797/misc/scm/process_cvs_commits.php~    2009-01-13 14:21:31.000000000 +0200
-+++ eventum-r3797/misc/scm/process_cvs_commits.php     2009-01-13 14:22:25.200134375 +0200
-@@ -27,14 +27,7 @@
- // | Authors: João Prado Maia <jpm@mysql.com>                             |
- // +----------------------------------------------------------------------+
+--- eventum-3.0.0-pre1/scm/eventum-cvs-hook.php~       2014-11-30 13:48:18.000000000 +0200
++++ eventum-3.0.0-pre1/scm/eventum-cvs-hook.php        2015-02-09 14:39:22.881991719 +0200
+@@ -52,9 +52,7 @@
+ // SCM repository name. Needed if multiple repositories configured
+ $scm_name = 'cvs';
  
--// URL to your Eventum installation.
--// https is supported transparently by PHP 5 if you have openssl module enabled.
--$eventum_url = 'http://eventum.example.com/';
--
--
 -//
 -// DO NOT CHANGE ANYTHING AFTER THIS LINE
 -//
-+include '/etc/eventum/scm.php';
++require '/etc/eventum/scm.php';
  
- if (isset($eventum_url)) {
-     $data = parse_url($eventum_url);
---- eventum/misc/scm/process_svn_commits.php~  2007-02-17 20:45:06.580266717 +0200
-+++ eventum/misc/scm/process_svn_commits.php   2007-02-17 20:48:25.014819809 +0200
-@@ -33,13 +33,8 @@
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
+--- eventum-3.0.0-pre1/scm/eventum-svn-hook.php~       2014-11-30 13:48:18.000000000 +0200
++++ eventum-3.0.0-pre1/scm/eventum-svn-hook.php        2015-02-09 14:40:05.184671966 +0200
+@@ -48,9 +48,7 @@
+ // SCM repository name. Needed if multiple repositories configured
+ $scm_name = 'svn';
  
- // See http://eventum.mysql.org/wiki/index.php/Subversion_integration about SVN integration.
+-//
+-// DO NOT CHANGE ANYTHING AFTER THIS LINE
+-//
++require '/etc/eventum/scm.php';
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
+--- eventum-3.0.0-pre1/scm/eventum-git-hook.php~       2014-11-30 13:48:18.000000000 +0200
++++ eventum-3.0.0-pre1/scm/eventum-git-hook.php        2015-04-08 16:37:51.434314140 +0300
+@@ -34,9 +34,7 @@
+ // TODO: use $GL_REPO
+ $scm_name = 'git';
  
--// URL to your Eventum installation.
--// https is supported transparently by PHP 5 if you have openssl module enabled.
--$eventum_url = 'http://rabbit.impleo.net/';
--
 -//
 -// DO NOT CHANGE ANYTHING AFTER THIS LINE
 -//
-+include '/etc/eventum/scm.php';
-+
- if (isset($eventum_url)) {
-     $data = parse_url($eventum_url);
- } else {
++require '/etc/eventum/scm.php';
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
This page took 0.068836 seconds and 4 git commands to generate.