Solar_Dir

View: New views
2 Messages — Rating Filter:   Alert me  

Solar_Dir

by Jeff Surgeson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi


Playing with latest svn, get following notice:

Notice: Undefined variable: system in /var/www/localhost/htdocs/source/solar/Solar/Dir.php on line 140


I know notices dont worry some but the bug the hell out of me :D


Looking at code, you have added:


if (Solar::$system) {
$tmp = "$system/tmp";
} ....


Maybe....
if (Solar::$system) {
$tmp = Solar::$system . "/tmp";
} ....


Jeff Surgeson
South Africa



_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

Re: Solar_Dir

by Paul M Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 8, 2009, at 06:48 , Jeff Surgeson wrote:

> Hi
>
> Playing with latest svn, get following notice:
>
> Notice: Undefined variable: system in /var/www/localhost/htdocs/
> source/solar/Solar/Dir.php on line 140
>
> I know notices dont worry some but the bug the hell out of me :D

They bother me too.  ;-)


> Looking at code, you have added:
>
> if (Solar::$system) {
> $tmp = "$system/tmp";
> } ....
>
> Maybe....
> if (Solar::$system) {
> $tmp = Solar::$system . "/tmp";
> } ....


Sorry about that.  Fixed and committed; thanks. :-)


--

Paul M. Jones
http://paul-m-jones.com/




_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk