Post by mykingla » Sun Dec 07, 2008 1:30 pm

If the content in the () is empty, Can it be back to the home page always?

New member

Posts

Joined
Wed Dec 03, 2008 10:45 am

Post by Qphoria » Mon Dec 08, 2008 12:51 am

this should work:

edit library/environment/url.php:

CHANGE:

Code: Select all

function ssl($controller, $action = NULL, $query = array()) {
	$server=$this->get_server();
	return htmlspecialchars($this->create($server, $controller, $action, $query));
}
TO:

Code: Select all

function ssl($controller [color=red]= 'home'[/color], $action = NULL, $query = array()) {
	$server=$this->get_server();
	return htmlspecialchars($this->create($server, $controller, $action, $query));
}

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mykingla » Mon Dec 08, 2008 11:01 am

Nice, thanks  :)

New member

Posts

Joined
Wed Dec 03, 2008 10:45 am
Who is online

Users browsing this forum: No registered users and 4 guests