Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:osw3:pi
ZoneMinder
fix-ZM_VERSION-already-defined-error.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-ZM_VERSION-already-defined-error.patch of Package ZoneMinder
From 40d496099a839fff614fc9292ae0c48049a82421 Mon Sep 17 00:00:00 2001 From: Dirk Hartmann <2monex@gmx.net> Date: Mon, 13 Apr 2020 16:00:08 +0200 Subject: [PATCH 7/7] fix ZM_VERSION already defined error --- web/includes/config.php.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/includes/config.php.in b/web/includes/config.php.in index 7052a061a..9d2ab4c13 100644 --- a/web/includes/config.php.in +++ b/web/includes/config.php.in @@ -61,7 +61,9 @@ if ( is_dir($configSubFolder) ) { # Now that our array our finalized, define each key => value # pair in the array as a constant foreach ( $configvals as $key => $value ) { - define($key, $value); + if ( !defined( $key ) ) { + define( $key, $value ); + } } // -- 2.26.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor