Projects
home:dercol:branches:openSUSE.org:home:Monex:stable
ZoneMinder
fix-ZM_VERSION-already-defined-error.20200211.p...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-ZM_VERSION-already-defined-error.20200211.patch of Package ZoneMinder
diff -Nur zoneminder-1.34.2.qorig/web/includes/config.php.in zoneminder-1.34.2/web/includes/config.php.in --- zoneminder-1.34.2.qorig/web/includes/config.php.in 2020-02-11 11:16:02.072009113 +0100 +++ zoneminder-1.34.2/web/includes/config.php.in 2020-02-11 13:33:48.074272745 +0100 @@ -61,7 +61,9 @@ # 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 ); + } } //
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.