cvs: php-src(PHP_5_3) /win32/build registersyslog.php
| From: | Kalle Sommer Nielsen | Date: | Wed, 27 May 2009 01:38:13 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /win32/build registersyslog.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58270@lists.php.net to get a copy of this message | ||
kalle Wed May 27 01:38:13 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/win32/build registersyslog.php
Log:
MFH: Silent dl() if it fails
http://cvs.php.net/viewvc.cgi/php-src/win32/build/registersyslog.php?r1=1.2.6.1&r2=1.2.6.2&diff_format=u
Index: php-src/win32/build/registersyslog.php
diff -u php-src/win32/build/registersyslog.php:1.2.6.1
php-src/win32/build/registersyslog.php:1.2.6.2
--- php-src/win32/build/registersyslog.php:1.2.6.1 Wed Oct 15 18:41:57 2008
+++ php-src/win32/build/registersyslog.php Wed May 27 01:38:13 2009
@@ -3,7 +3,7 @@
/* This script sets up an event source for use by the php syslog() function. */
if (!extension_loaded("win32std")) {
- dl("php_win32std.dll");
+ @dl("php_win32std.dll");
}
$PATH = "SYSTEM\\CurrentControlSet\\Services\\Eventlog\\Application\\PHP-" .
phpversion();