I am working on building a new toaster and ran into a bunch of errors in my httpd error log:

PHP Notice: Use of undefined constant r - assumed 'r' in /usr/share/toaster/include/admin.inc.php on line 10, referer: http://192.168.0.4/stats-toaster/

Line 10 had:

                        $fd     = fopen ( $file, r ) ;
it now has:
                        $fd     = fopen ( $file, "r" ) ;

I also found several other places where fopen didn't quote the file mode and they were generating errors as well. A simple find/fix will handle them all.
--
Lee R. Copp
Project Engineer (EE/ME)
http://www.michsci.com/

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to