Welcome Guest, Not a member yet? Register   Sign In
activation email url
#1

[eluser]josh48202[/eluser]
im using FAL and when it sends the activation url is comes up as
Code:
/index.php/auth/activation/id/code.html
i tried changing it so that it shows the whole link so it can be clicked on instead of copied n pasted but when i change it is shows
Code:
/index.php/www.domain.com/index.php/auth/activation/id/code.html
how do i change this?
#2

[eluser]eggshape[/eluser]
Hey - I'm not sure what FAL is but if you load the URL helper and define your base url in config.php:

Code:
echo base_url() . $activation_string;

you should get the complete url.
#3

[eluser]Armchair Samurai[/eluser]
You could also use site_url($foo) to get the complete URL likewise from the URL Helper or $this->config->site_url($foo) if you don't want to load the helper for some reason.
#4

[eluser]Grahack[/eluser]
Hi everyone, FAL stands for FreakAuth(light), which is an authentication library for CI. There's a project for it on CIforge.
As stated above, you'd better check your $config['base_url'] conf item, that's what happens when it's not correctly set when you use the anchor() function.

What did you try to change? the _sendActivationEmail() function? How?
#5

[eluser]josh48202[/eluser]
yea i tried changing the FAL_activation_uri in the _sendActivationEmail() function. i justed checked my $config['base_url'] and its set to "/". thx for the help




Theme © iAndrew 2016 - Forum software by © MyBB