]> andersk Git - sql-web.git/commitdiff
session_name set to SQLMITEDU
authorJoe Presbrey <presbrey@mit.edu>
Mon, 6 Feb 2006 04:57:56 +0000 (04:57 +0000)
committerJoe Presbrey <presbrey@mit.edu>
Mon, 6 Feb 2006 04:57:56 +0000 (04:57 +0000)
signup.c has absolute path to php

git-svn-id: svn://presbrey.mit.edu/sql/mitsql@92 a142d4bd-2cfb-0310-9673-cb33a7e74f58

bin/signup.c
lib/mitsql.lib.php

index ca2dbc503033e8dda575cc8868311cd336bb41a2..fe4114970562cc640cc734ab22e236b32cd426b7 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 
 int main() {
-       system("php /home/sql/web_scripts/main/batch/signup.php");
+       system("/usr/bin/php /home/sql/web_scripts/main/batch/signup.php");
        return 0;
 }
index 0e9620d97a13bfcf176e93175cd5ddf30a0c01c8..519e2d2c16e0b9dec215910ea613cbca7b22f340 100755 (executable)
@@ -25,6 +25,7 @@ if (isset($_SERVER['REQUEST_URI'])) {
     //session_set_cookie_params(0, $thisPath['dirname']);
        //$arr = explode('/', $_SERVER['SCRIPT_NAME']);
     //session_set_cookie_params(0, '/'.$arr[1].'/');
+       session_name('SQLMITEDU');
     session_set_cookie_params(0, BASE_URL);
     session_start();
     define('INTERACTIVE', 1);
This page took 0.030633 seconds and 5 git commands to generate.