Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Installation support «   web address != to physical directory, install problem «  

Comment: web address != to physical directory, install problem

  Next >>
Raeky,

YACS already has two different variables to address this issue.

-  $context['path_to_root'] is used to handle files. Its content is computed automatically by locating the file shared/global.php relative to the current working directory.

-  $context['url_to_root'] is used to build web references. You can set its value in the main configuration file, from the script control/configure.php.

When the web address and the physical directory are different, like in your case, you should specify the web address during the setup process in the main configuration panel.

By default the default web address is /yacs/. In your case it should be changed to a single slash /.

Hope it helps. By the way, the home page of your site is really funny.

by Bernard on Jul. 31 2004