From: Chris S. <san...@us...> - 2005-07-31 07:42:36
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11118/scripts Modified Files: stackDatabase.php stackWin.php Log Message: Index: stackDatabase.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackDatabase.php,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** stackDatabase.php 25 Jul 2005 14:11:25 -0000 1.34 --- stackDatabase.php 31 Jul 2005 07:42:28 -0000 1.35 *************** *** 1207,1218 **** if(0 != mysql_num_rows($result)) { $row = mysql_fetch_row($result); foreach ($row as $key => $val) { $user[$stackUserKeys[$key]] = stripslashes($val); } - } ! if (array_key_exists('options',$user)) { ! $user['options'] = base64_unserialize($user['options']); ! } return $user; --- 1207,1219 ---- if(0 != mysql_num_rows($result)) { $row = mysql_fetch_row($result); + foreach ($row as $key => $val) { $user[$stackUserKeys[$key]] = stripslashes($val); } ! if (array_key_exists('options',$user)) { ! $user['options'] = base64_unserialize($user['options']); ! } ! } return $user; Index: stackWin.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackWin.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** stackWin.php 18 Jul 2005 11:58:22 -0000 1.7 --- stackWin.php 31 Jul 2005 07:42:28 -0000 1.8 *************** *** 91,95 **** if(is_resource($TeXProcess)) { - if (!fwrite($pipes[0], $stack_cas['initCommand'])) { echo "<br />Could not write to the CAS process!<br/ >\n"; --- 91,94 ---- *************** *** 100,103 **** --- 99,104 ---- fflush($pipes[0]); + //echo "<pre>".$strin."</pre>"; + $ret = ''; // read output from stdout |