From: Chris S. <san...@us...> - 2006-02-16 12:16:38
|
Update of /cvsroot/stack/stack-1-0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv515 Modified Files: stackConfig.php.dist Log Message: Index: stackConfig.php.dist =================================================================== RCS file: /cvsroot/stack/stack-1-0/stackConfig.php.dist,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** stackConfig.php.dist 6 Feb 2006 13:55:32 -0000 1.9 --- stackConfig.php.dist 16 Feb 2006 12:16:29 -0000 1.10 *************** *** 17,23 **** //$stack_os = 'win'; ! // NOTE: Windows uses `\` slashes rather than `/` as in UNIX. ! // We only use unix style `/` in this file. ! // They get convereted where this is needed. --- 17,23 ---- //$stack_os = 'win'; ! // NOTE: Windows uses `\` slashes rather than `/` as in UNIX. ! // We only use unix style `/` in this file. ! // They get convereted where this is needed. *************** *** 27,36 **** /* The directory containing stack */ ! $stack_root = $_SERVER['DOCUMENT_ROOT']; ! $stack_root = "/home/stack/public_html"; // without trailing slash /* Logfiles etc */ /* This needs to be writable by the webserver */ ! $stack_logfiles = "/home/stack/stacklocal/"; // with the trailing slash /* You need to tell STACK where it is, to create accurate URL's */ --- 27,36 ---- /* The directory containing stack */ ! $stack_root = $_SERVER['DOCUMENT_ROOT']; ! $stack_root = "/home/stack/public_html"; // without trailing slash /* Logfiles etc */ /* This needs to be writable by the webserver */ ! $stack_logfiles = "/home/stack/stacklocal/"; // with the trailing slash /* You need to tell STACK where it is, to create accurate URL's */ *************** *** 61,65 **** $stack_mysql['host'] = 'localhost'; $stack_mysql['user'] = 'stack'; ! $stack_mysql['pswd'] = ''; $stack_mysql['stackdb'] = 'stack'; --- 61,65 ---- $stack_mysql['host'] = 'localhost'; $stack_mysql['user'] = 'stack'; ! $stack_mysql['pswd'] = ''; $stack_mysql['stackdb'] = 'stack'; *************** *** 115,119 **** $maximalocal['MAXIMA_VERSION'] = $stack_cas['version']; ! // Implementation of images. // Use UNIX slashes in filenames: these get sorted in initmaxima.php, for Windows $maximalocal['TMP_IMAGE_DIR'] = $stack_logfiles; --- 115,119 ---- $maximalocal['MAXIMA_VERSION'] = $stack_cas['version']; ! // Implementation of images. // Use UNIX slashes in filenames: these get sorted in initmaxima.php, for Windows $maximalocal['TMP_IMAGE_DIR'] = $stack_logfiles; *************** *** 122,131 **** // These are used by the GNUplot "set terminal" command. $maximalocal['plot_terminal'] = 'png'; // Either 'png' or 'gif' ! $maximalocal['plot_term_opt'] = 'transparent size 450,300'; // Windows if ('win' == $stack_os) { $maximalocal['DEL_CMD'] = "del"; ! $maximalocal['GNUPLOT_CMD'] = '"c:\Program Files\Maxima-5.9.1\bin\wgnuplot.exe"'; //$maximalocal['GNUPLOT_CMD' ] = "wgnuplot"; } else { --- 122,138 ---- // These are used by the GNUplot "set terminal" command. $maximalocal['plot_terminal'] = 'png'; // Either 'png' or 'gif' ! $maximalocal['plot_term_opt'] = 'transparent size 450,300'; // Windows if ('win' == $stack_os) { $maximalocal['DEL_CMD'] = "del"; ! // This does its best to find your version of Maxima... ! if ('5.9.1' == $stack_cas['version']) { ! $maximalocal['GNUPLOT_CMD'] = '"c:\Program Files\Maxima-5.9.1\bin\wgnuplot.exe"'; ! } else if ('5.9.2' == $stack_cas['version']) { ! $maximalocal['GNUPLOT_CMD'] = '"c:\Program Files\Maxima-5.9.2\bin\wgnuplot.exe"'; ! } else { ! $maximalocal['GNUPLOT_CMD'] = '"wgnuplot.exe"'; ! } //$maximalocal['GNUPLOT_CMD' ] = "wgnuplot"; } else { *************** *** 139,143 **** // The email address of the adminstrator. ! $stack_mail['admin_email'] = 'so...@so...'; // If this empty, '', or has the value 'so...@so...' the email address // at the bottom of subject and quiz pages will be suppressed. --- 146,150 ---- // The email address of the adminstrator. ! $stack_mail['admin_email'] = 'so...@so...'; // If this empty, '', or has the value 'so...@so...' the email address // at the bottom of subject and quiz pages will be suppressed. |