# HG changeset patch # User Dan # Date 1226201631 18000 # Node ID 4ea698929756cbfa242563e7fde501b926628945 # Parent bfde4d7402b1b3c8e93a759e98838c50912b80b7 [minor] AboutEnano can detect Mac OS X now diff -r bfde4d7402b1 -r 4ea698929756 plugins/SpecialPageFuncs.php --- a/plugins/SpecialPageFuncs.php Sat Nov 08 22:33:26 2008 -0500 +++ b/plugins/SpecialPageFuncs.php Sat Nov 08 22:33:51 2008 -0500 @@ -582,8 +582,10 @@ $platform = 'Windows NT'; else if(file_exists('C:\Windows\system\krnl386.exe')) $platform = 'Windows 9x/DOS'; + else if(file_exists('/System/Library/CoreServices/SystemVersion.plist')) + $platform = 'Mac OS X'; else if(file_exists('/bin/bash')) - $platform = 'Other GNU/Mac OS X'; + $platform = 'Other GNU'; else if(is_dir('/bin')) $platform = 'Other POSIX'; $template->header();