]> 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 131976d5b3b55187bc9f01c2fbe3353265b5e958..f8623a8166d38134e9df2e7b93c118f31d5bc7bb 100644 (file)
@@ -1,19 +1,39 @@
---- eventum/misc/scm/process_cvs_commits.php~  2007-02-15 01:28:29.670480306 +0200
-+++ eventum/misc/scm/process_cvs_commits.php   2007-02-15 01:28:52.320991777 +0200
-@@ -28,15 +28,7 @@
- //
- // @(#) $Id$
+--- 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://rabbit.impleo.net/';
--
--
 -//
 -// 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);
+ // 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';
+-//
+-// 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';
+-//
+-// DO NOT CHANGE ANYTHING AFTER THIS LINE
+-//
++require '/etc/eventum/scm.php';
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
This page took 0.027782 seconds and 4 git commands to generate.