Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Installation support «   Incorrect Base URL additional port «  

Comment: Incorrect Base URL additional port

<< Previous Next >>

Comment inspired from Bernard

Thanks Bernard

I am totally new to php and this is such a fab application I need to get around this problem. I have found the code referencing the various ports. Being a newbie I need advice on the code required to fix it, is it something like this.

elseif(isset($_SERVER['SERVER_PORT']) && ($_SERVER['SERVER_PORT'] == 81)) $context['url_to_home'] = 'http://'.$context['host_name'];

Do I need to go through setup again once I have changed the file? Your help is much appreciated.

Cheers Bent

This comment has inspired:

by Bent on Aug. 15 2006