Permalink
Browse files

* set time zone in config file

* set style sheet in config file

git-svn-id: http://svn.research.cc.gatech.edu/pipeline/pipeline/trunk/pipeline2/demo@593 16799ac1-277d-452d-bde6-26ee59b221c8
  • Loading branch information...
1 parent a21c043 commit 0eebfc1a48351b4b714484f6fb14915367731de1 @kluther committed Sep 2, 2011
Showing with 5 additions and 3 deletions.
  1. +2 −0 config_sample.php
  2. +2 −2 global.php
  3. +1 −1 views/site/partial/page.tpl.php
View
@@ -9,6 +9,8 @@
define('BASE_URI', 'http://pipeline.cc.gatech.edu'); # base URI for this Pipeline instance <- CHANGE THIS
define('PIPELINE_NAME', 'Pipeline Demo'); # name of this Pipeline instance <- CHANGE THIS
+ define('STYLE_SHEET', 'light.css'); # name of CSS stylesheet <- CHANGE THIS
+ define('TIME_ZONE', 'America/New_York'); # name of PHP time zone <- CHANGE THIS
define('DB_HOST', 'localhost'); # database host <- CHANGE THIS
define('DB_USERNAME', 'root'); # database username <- CHANGE THIS
View
@@ -28,7 +28,7 @@ function __autoload($class_name)
define('DISCUSSIONS_ID',4);
define('PEOPLE_ID',5);
-date_default_timezone_set('America/New_York');
set_include_path(dirname(__FILE__));
require_once("config.php");
-require_once("lib/Soup/Soup.php");
+date_default_timezone_set(TIME_ZONE);
+require_once(SYSTEM_PATH."/lib/Soup/Soup.php");
@@ -18,7 +18,7 @@
<title><?= PIPELINE_NAME ?> - <?= $pageTitle ?></title>
<link rel="icon" type="image/png" href="<?= Url::images() ?>/icons/clapperboard.png" />
<link rel="stylesheet" type="text/css" href="<?= Url::styles() ?>/basic.css" />
- <link rel="stylesheet" type="text/css" href="<?= Url::styles() ?>/light.css" />
+ <link rel="stylesheet" type="text/css" href="<?= Url::styles() ?>/<?= STYLE_SHEET ?>" />
<link rel="stylesheet" type="text/css" href="<?= Url::styles() ?>/jquery-ui-1.8.16.custom.css" />
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">

0 comments on commit 0eebfc1

Please sign in to comment.