[TEP-COMMIT] [CVS admin] posix functions are only available under unix based servers

hpdl-OfajU3CKLf1/[email protected] 25 Aug 2004 13:11:09 -0000
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Commit in admin/admin/includes/functions on MAIN

compatibility.php +12 1.12 -> 1.13

posix functions are only available under unix based servers

----------

admin /admin /includes /functions

compatibility.php 1.12 -> 1.13

diff -u -r1.12 -r1.13
--- compatibility.php 2004/07/22 23:10:14 1.12
+++ compatibility.php 2004/08/25 13:11:09 1.13
@@ -120,4 +120,16 @@

return $temp;
}
}

+
+ if (!function_exists('posix_getpwuid')) {
+ function posix_getpwuid($id) {
+ return '-?-';
+ }
+ }
+
+ if (!function_exists('posix_getgrgid')) {
+ function posix_getgrgid($id) {
+ return '-?-';
+ }
+ }

?>

CVSspam 0.2.9

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285