17 lines
778 B
Plaintext
17 lines
778 B
Plaintext
$OpenBSD: patch-zurmo_app_roots_php,v 1.1 2013/03/12 06:13:33 ajacoutot Exp $
|
|
--- zurmo/app/roots.php.orig Tue Mar 12 07:12:10 2013
|
|
+++ zurmo/app/roots.php Tue Mar 12 07:12:36 2013
|
|
@@ -38,10 +38,11 @@
|
|
define('IS_WINNT', PHP_OS == 'WINNT');
|
|
define('IS_OSX', PHP_OS == 'Darwin');
|
|
define('IS_FREEBSD', PHP_OS == 'FreeBSD');
|
|
+ define('IS_OPENBSD', PHP_OS == 'OpenBSD');
|
|
|
|
// The application has only been tested in Linux, and
|
|
// Windows variants identifying themselves as WINNT.
|
|
- assert(IS_LINUX || IS_WINNT || IS_OSX || IS_FREEBSD); // Not Coding Standard
|
|
+ assert(IS_LINUX || IS_WINNT || IS_OSX || IS_FREEBSD || IS_OPENBSD); // Not Coding Standard
|
|
|
|
define('COMMON_ROOT', dirname(__FILE__));
|
|
define('INSTANCE_ROOT', getcwd());
|