]> andersk Git - sql-web.git/commitdiff
lets have a SIGNUP_URL option
authorJoe Presbrey <presbrey@mit.edu>
Tue, 21 Aug 2007 23:10:14 +0000 (23:10 +0000)
committerJoe Presbrey <presbrey@mit.edu>
Tue, 21 Aug 2007 23:10:14 +0000 (23:10 +0000)
git-svn-id: svn://presbrey.mit.edu/sql/web/dev@142 a142d4bd-2cfb-0310-9673-cb33a7e74f58

batch/signup-client.php
mitsql.cfg.php

index 1898efd6a2d96cde4d7833ebeb9a804cb373b72d..ff1f277a779be253c9ac5dad73b89f5b374d1751 100755 (executable)
@@ -15,8 +15,7 @@ if ($myUID<100) exit('bad UID');
 if (!extension_loaded('curl'))
     @dl('curl.so');
 
-//$cx = curl_init(BASE_HTTPS.BASE_URL.'do/batch/signup');
-$cx = curl_init('https://scripts2.mit.edu/dev/do/batch/signup');
+$cx = curl_init(SIGNUP_URL);
 curl_setopt($cx, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
 curl_setopt($cx, CURLOPT_RETURNTRANSFER, true);
 curl_setopt($cx, CURLOPT_SSL_VERIFYHOST, false);
index 3f5ed9d9511321960dcaff3a50df3026ab3193f4..49d10859193003e79b1dcf46e2fdb1703840ab04 100755 (executable)
@@ -24,6 +24,7 @@ if (DEVEL) {
 }
 defined('BASE_HTTP') || define('BASE_HTTP', 'http://sql.mit.edu');
 defined('BASE_HTTPS') || define('BASE_HTTPS', 'https://sql.mit.edu');
+defined('SIGNUP_URL') || define('SIGNUP_URL', BASE_HTTPS.BASE_URL.'do/batch/signup');
 
 define('DELIMETER', '+');
 defined('DBHOST') || define('DBHOST', 'sql.mit.edu');
This page took 0.031101 seconds and 5 git commands to generate.