Update of /cvsroot/stack/stack-1-0
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32646
Modified Files:
stackstd.php.dist
Log Message:
Index: stackstd.php.dist
===================================================================
RCS file: /cvsroot/stack/stack-1-0/stackstd.php.dist,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** stackstd.php.dist 12 Jun 2005 09:48:38 -0000 1.13
--- stackstd.php.dist 23 Jun 2005 08:05:42 -0000 1.14
***************
*** 63,66 ****
--- 63,74 ----
$stack_web_url = 'http://'.$stack_host.'/'.$stack_basepath.'/';
+ /***************************************************/
+ /* Integration with VLE or stand alone? */
+ /***************************************************/
+
+ /* Output complete webpages, for stand-alone use? */
+ $stack_stand_alone = TRUE;
+ $stack_adminpswd = '';
+ $stack_defaultlang = 'en'; // Use the two letter country codes.
/***************************************************/
***************
*** 153,164 ****
/***************************************************/
- /* Integration with VLE or stand alone? */
- /***************************************************/
-
- /* Output complete webpages, for stand-alone use? */
- $stack_stand_alone = TRUE;
- $stack_adminpswd = '';
-
- /***************************************************/
/* CAS-pool socket configuration (CAS Pool usage) */
/***************************************************/
--- 161,164 ----
***************
*** 185,188 ****
--- 185,191 ----
require_once("{$stack_root}/scripts/CASpool/stackProcess.php");
+ // Set the default language.
+ $stackOptions['Language']['default'] = $stack_defaultlang
+
if ('unix' == $stack_os) {
require_once("{$stack_root}/scripts/stackUnix.php");
|