Now if I look at http://localhost/cmsms/ it is there but is not communicating with the images or stylesheets and when I type in http://localhost/cmsms/admin/
I am redirected to http://localhost/cmsms/admin/localhost/ ... /login.php
and if I try to go to http://localhost/cmsms/admin/login.php
I am directed to http://localhost/cmsms/admin/localhost/ ... /login.php .
Can't for the life of me work out what I have done!
This is the config.php
Code: Select all
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'root';
$config['db_password'] = '';
$config['db_name'] = 'cms';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'localhost/cmsms';
$config['timezone'] = 'UTC';
$config['default_encoding'] = 'utf-8';
#------------
#URL Settings
#------------
$config['url_rewriting'] = 'mod_rewrite';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
#Show mod_rewrite URLs in the menu?
$config['assume_mod_rewrite'] = true;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';
?>
edit: so silly, its http://localhost isn't it