[Solar-talk] Helper_Script mod

Paul M Jones pmjones at ciaweb.net
Thu Sep 7 15:40:31 PDT 2006


On Sep 7, 2006, at 9:11 AM, Paul M Jones wrote:

>> Hm, perhaps I should modify the underlying Solar_Uri class to
>> recognize the difference; e.g., have it look at HTTP_HOST and compare
>> to the requested URI...
>
> I have just committed a change to branches/dev Solar_Uri that makes
> it a little bit smarter when it comes to off-site URIs.

And now I've un-committed it; too much strangeness ensues in further  
tests.

Have made new commits based on Clay's plan instead; to wit, modify  
publicHref() helper to look for '://' in the HREF and use that string  
literally instead of passing through Solar_Uri_Public.  Mea culpa,  
and sorry to cause confusion; I should have tested more thoroughly  
before committing.  This is what happens when I get in a hurry.  :-(



--

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

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list