Skip to content

Commit

Permalink
Automated web root configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmich committed Feb 14, 2012
1 parent 26d2224 commit ad69703
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configuration.inc.php
@@ -1,14 +1,15 @@
<?php


$site['WEB_ROOT'] = "http://localhost/phpapps/bonniecms";
$site['WEB_ROOT'] = (isset($_SERVER['HTTPS'])) ? 'https://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']) :
'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']);
$site['SITE_NAME'] = "BonnieCMS SampleSite";
$site['SITE_SLOGAN'] = "...keep it simple...";
$site['TEMPLATE'] = "winterplain";
$site['LANG']="en";
$site['DEFAULT_COMPONENT'] = "page";
$site['CACHE'] = true; //caching
$site['CACHE_TIME'] = 5; //cache timeout in seconds
$site['MINIFY'] = true;
$site['MINIFY'] = true;

return $site;

0 comments on commit ad69703

Please sign in to comment.