# HG changeset patch # User Dan # Date 1258421859 18000 # Node ID 9f928ce05b6b8a52d404594d002111cd97e53751 # Parent 8c664c96fccdc982ecfb05ed8a9ec78e4611bab3 Fixed some open_basedir errors in SpecialPageFuncs diff -r 8c664c96fccd -r 9f928ce05b6b plugins/SpecialPageFuncs.php --- a/plugins/SpecialPageFuncs.php Mon Nov 16 00:06:55 2009 -0500 +++ b/plugins/SpecialPageFuncs.php Mon Nov 16 20:37:39 2009 -0500 @@ -373,17 +373,17 @@ $uname = @file_get_contents('/proc/sys/kernel/ostype'); if($uname == "Linux\n") $platform = 'Linux'; - else if(file_exists('/hurd/pfinet')) // I have a little experience with GNU/Hurd :-) http://hurdvm.enanocms.org/ + else if(@file_exists('/hurd/pfinet')) // I have a little experience with GNU/Hurd :-) http://hurdvm.enanocms.org/ $platform = 'GNU/Hurd'; else if(strtolower(PHP_OS) == 'winnt') $platform = 'Windows NT'; else if(strtolower(PHP_OS) == 'win32') $platform = 'Windows 9x/DOS'; - else if(file_exists('/System/Library/CoreServices/SystemVersion.plist')) + else if(@file_exists('/System/Library/CoreServices/SystemVersion.plist')) $platform = 'Mac OS X'; - else if(file_exists('/bin/bash')) + else if(@file_exists('/bin/bash')) $platform = 'Other GNU'; - else if(is_dir('/bin')) + else if(@is_dir('/bin')) $platform = 'Other POSIX'; $template->header(); ?> @@ -694,4 +694,4 @@ echo enano_json_encode($dataset); } -?> \ No newline at end of file +?>