jan             Sat Feb 14 14:02:23 2004 EDT

  Modified files:              
    /php-src/ext/standard       dl.c 
  Log:
   - improve error message
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/dl.c?r1=1.87&r2=1.88&ty=u
Index: php-src/ext/standard/dl.c
diff -u php-src/ext/standard/dl.c:1.87 php-src/ext/standard/dl.c:1.88
--- php-src/ext/standard/dl.c:1.87      Wed Feb 11 06:46:20 2004
+++ php-src/ext/standard/dl.c   Sat Feb 14 14:02:23 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: dl.c,v 1.87 2004/02/11 11:46:20 zeev Exp $ */
+/* $Id: dl.c,v 1.88 2004/02/14 19:02:23 jan Exp $ */
 
 #include "php.h"
 #include "dl.h"
@@ -81,7 +81,7 @@
        } else if (PG(safe_mode)) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Dynamically loaded 
extensions aren't allowed when running in Safe Mode");
        } else {
-               zend_error(E_STRICT, "dl() is deprecated - use extension= in your 
php.ini");
+               zend_error(E_STRICT, "dl() is deprecated - use extension=%s in your 
php.ini", Z_STRVAL_PP(file));
                php_dl(*file, MODULE_TEMPORARY, return_value TSRMLS_CC);
                EG(full_tables_cleanup) = 1;
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to