[imc-sf-coders] CVS update of sf-active/sf-active/sitename/local/config (sfactive.cfg)

Quinten S quinten at codecoop.org
Tue Dec 27 12:58:57 PST 2005


    Date: Tuesday, December 27, 2005 @ 21:58:57
  Author: quinten
    Path: /cvsroot/sf-active/sf-active/sf-active/sitename/local/config

Modified: sfactive.cfg

default single-language, single-directory site


Index: sf-active/sf-active/sitename/local/config/sfactive.cfg
diff -u sf-active/sf-active/sitename/local/config/sfactive.cfg:1.127 sf-active/sf-active/sitename/local/config/sfactive.cfg:1.128
--- sf-active/sf-active/sitename/local/config/sfactive.cfg:1.127	Tue Dec 27 21:21:11 2005
+++ sf-active/sf-active/sitename/local/config/sfactive.cfg	Tue Dec 27 21:58:57 2005
@@ -13,9 +13,9 @@
 
 /* *** Database *** fill in the correct values for your database */
 define('DB_HOSTNAME',   DB_SHARED_HOST);
-define('DB_USERNAME',   '');
-define('DB_PASSWORD',   '');
-define('DB_DATABASE',   '');
+define('DB_USERNAME',   'sfa');
+define('DB_PASSWORD',   'password');
+define('DB_DATABASE',   'sitename');
 define('DB_VENDOR',     'mysql');
 
 /* *** Main Paths *** if you didn't do anything funky, you should 
@@ -24,7 +24,7 @@
 define('SF_INSTALL_PATH',  SF_BASE_PATH . '/sitename');
 define('SF_SHARED_PATH',   SF_BASE_PATH.'/shared');
 define('SF_LOCAL_PATH',    SF_INSTALL_PATH.'/local');
-define('SF_STATIC_PATH',    SF_INSTALL_PATH.'/static');
+define('SF_STATIC_PATH',    SF_INSTALL_PATH.'/website');
 
 
 /* *** URLs ***
@@ -35,13 +35,13 @@
     * SF_SEARCH_URL: change this if you use a dedicated server(s) to serve multimedia files
 */
 define('SF_ROOT_URL',	    'http://sfa.indymedia.org');
-define('SF_PUBLISH_URL',    'http://sfa.indymedia.org');
-define('SF_SEARCH_URL',	    'http://sfa.indymedia.org');
-define('SF_UPLOAD_URL',	    'http://sfa.indymedia.org');
-
-/**
-  the following defines are URL's for you publish site
-*/
+define('SF_PUBLISH_URL',    SF_ROOT_URL);
+define('SF_SEARCH_URL',	   SF_ROOT_URL);
+define('SF_UPLOAD_URL',	   SF_ROOT_URL);
+
+  /**
+   * the following defines are URL's for you publish site
+   */
 define('SF_ADMIN_EXT',      '/admin');
 define('SF_ADMIN_URL',      SF_PUBLISH_URL.SF_ADMIN_EXT);
 define('SF_CALENDAR_URL',     SF_PUBLISH_URL.'/calendar');
@@ -97,8 +97,7 @@
     this will produce your site in / instead of /en/ */
 
 $GLOBALS['max_age'] = 3600 ; /* setting in seconds for Header('Cache-Control: max-age=xxxx') */
-$GLOBALS['short_max_age'] = 600 ; /* same as max_age, but then a shorter time for pages that change
-    often (like frontpage features/category_shortname/ and so on) */
+$GLOBALS['short_max_age'] = 600 ; /* same as max_age, but then a shorter time for pages that change often (like frontpage features/category_shortname/ and so on) */
 
 // this defines the size of your site.
 // it's used to speed up dbase-queries.
@@ -142,8 +141,8 @@
 
 // These define the start year & month of your site. It's used to set the dropdowns for the years
 // in the various search forms. It's also used for the calendar style overviews in your calendar & feature archives.
-$GLOBALS['site_start_year'] = 2003 ;
-$GLOBALS['site_start_month'] = 9 ;
+$GLOBALS['site_start_year'] = 2006 ;
+$GLOBALS['site_start_month'] = 1 ;
 
 // Variables for the minical
 $GLOBALS['minical_num_events'] = 5 ; // amount of events you want in your minicalendar


More information about the imc-sf-coders mailing list