ShopManager User Guide - v3.1.5


Config.php

Location: _application/config/config.php

All config items/settings are described in relative detail inside the config.php file. The main settings you may need to change have been included below.

$config['base_url']

By default, the base_url setting is configured to automatically use whatever URL you load it from. This will work OK in 99% of situations, with no security risk. However, you can set it to a FQDN (Fully Qualified Domain Name) if you prefer. If you use a port other than the default 80, you will need to specify this here.

$config['uri_protocol']

This item determines which server global should be used to retrieve the URI string. The default setting of "AUTO" works for most servers. If your links do not seem to work, try one of the other delicious flavors: 'AUTO' ~ Default - auto detects
'PATH_INFO' ~ Uses the PATH_INFO
'QUERY_STRING' ~ Uses the QUERY_STRING
'REQUEST_URI' ~ Uses the REQUEST_URI
'ORIG_PATH_INFO' ~ Uses the ORIG_PATH_INFO

$config['rewrite_short_tags']

If your PHP installation does not have short tag support enabled SM can rewrite the tags on-the-fly, enabling you to utilize that syntax in your view files. Options are TRUE or FALSE (boolean).