Ticket #569 (closed Bug: invalid)

Opened 7 months ago

Last modified 7 months ago

url::base() bug

Reported by: Xobb Owned by: Shadowhand
Priority: minor Milestone: 2.2
Component: Core Version: SVN HEAD
Keywords: url Cc:

Description

If site domain and protocol are not set in config.php the url::base() function doesn't give the correct link.

For example: config.php

$config['site_domain'] = '/kohana/';
$config['site_protocol'] = '';

then

echo url::base();

shows

/kohana/

So there's no automatic domain auto-detection.

Change History

Changed 7 months ago by Shadowhand

  • status changed from new to closed
  • resolution set to invalid

That is the intended behavior.

Note: See TracTickets for help on using tickets.