1. Hisateru Tanaka
  2. zurmo-prs

Commits

Hisateru Tanaka  committed d49f50d

Invert Merge

  • Participants
  • Parent commits 1b19b5e
  • Branches translation-ja

Comments (0)

Files changed (1)

File app/roots.php

View file
  • Ignore whitespace
      * "Powered by Zurmo".
      ********************************************************************************/
 
-    define('IS_LINUX', PHP_OS == 'Linux');
-    define('IS_WINNT', PHP_OS == 'WINNT');
+    define('IS_LINUX',   PHP_OS == 'Linux');
+    define('IS_WINNT',   PHP_OS == 'WINNT');
+    define('IS_OSX',     PHP_OS == 'Darwin');
+    define('IS_FREEBSD', PHP_OS == 'FreeBSD');
 
     // The application has only been tested in Linux, and
     // Windows variants identifying themselves as WINNT.
-    //assert(IS_LINUX || IS_WINNT); // Not Coding Standard
+    assert(IS_LINUX || IS_WINNT || IS_OSX || IS_FREEBSD); // Not Coding Standard
 
     define('COMMON_ROOT',   dirname(__FILE__));
     define('INSTANCE_ROOT', getcwd());