Changeset 1321 in ExiteCMS for trunk/includes/core_functions.php
- Timestamp:
- 02/28/08 00:25:43 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/core_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core_functions.php
r1313 r1321 923 923 } 924 924 } 925 926 // get the OS type 927 function CMS_getOS () { 928 if (substr(PHP_OS, 0, 3) == 'WIN') { 929 return "Windows"; 930 } elseif ( stristr(PHP_OS, "linux")) { 931 return "Linux"; 932 } elseif ( stristr(PHP_OS, "SunOS")) { 933 return "SunOS"; 934 } elseif ( stristr(PHP_OS, "Solaris")) { 935 return "Solaris"; 936 } else { 937 return "Other"; 938 } 939 } 925 940 ?>
Note: See TracChangeset
for help on using the changeset viewer.
