[Solar-talk] Helper_Script mod

Paul M Jones pmjones at solarphp.com
Wed Sep 6 11:12:52 PDT 2006


On Sep 6, 2006, at 12:51 PM, Mike Naberezny wrote:

> Rodrigo Moraes wrote:
>> Yes, that's what I need: to call the scripts using the full url, to
>> avoid repeated loading in different subdomains, and I think in the
>> future also for different domains.
>>
>
> I think both are likely scenarios since a significant number of sites
> serve static content this way.

Clay's plan is to modify publicHref() to look for an 'http' prefix on  
href strings, and use the absolute href in that case; otherwise,  
it'll be regarded as a relative local href.

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...




--

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