[packages/eventum] config should be require not require_once

glen glen at pld-linux.org
Tue Mar 29 08:05:27 CEST 2016


commit dc69aa7d6a8642e1ef72dfaaeee45a9fc2c9bf42
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Mar 29 09:05:11 2016 +0300

    config should be require not require_once

 eventum-cvs-config.patch | 6 +++---
 eventum-cvs.php          | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/eventum-cvs-config.patch b/eventum-cvs-config.patch
index 4cdd567..f8623a8 100644
--- a/eventum-cvs-config.patch
+++ b/eventum-cvs-config.patch
@@ -7,7 +7,7 @@
 -//
 -// DO NOT CHANGE ANYTHING AFTER THIS LINE
 -//
-+require_once '/etc/eventum/scm.php';
++require '/etc/eventum/scm.php';
  
  // save name of this script
  $PROGRAM = basename(realpath(array_shift($argv)), '.php');
@@ -20,7 +20,7 @@
 -//
 -// DO NOT CHANGE ANYTHING AFTER THIS LINE
 -//
-+require_once '/etc/eventum/scm.php';
++require '/etc/eventum/scm.php';
  
  // save name of this script
  $PROGRAM = basename(realpath(array_shift($argv)), '.php');
@@ -33,7 +33,7 @@
 -//
 -// DO NOT CHANGE ANYTHING AFTER THIS LINE
 -//
-+require_once '/etc/eventum/scm.php';
++require '/etc/eventum/scm.php';
  
  // save name of this script
  $PROGRAM = basename(realpath(array_shift($argv)), '.php');
diff --git a/eventum-cvs.php b/eventum-cvs.php
index e451aec..eb86299 100644
--- a/eventum-cvs.php
+++ b/eventum-cvs.php
@@ -1,5 +1,4 @@
 <?php
-# $Id$
 # URL to your Eventum installation.
 # https is supported transparently by PHP 5 if you have openssl module enabled.
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list