--- a/includes/clientside/static/crypto.js Sun Nov 09 14:10:24 2008 -0500
+++ b/includes/clientside/static/crypto.js Sun Nov 09 14:22:41 2008 -0500
@@ -2042,7 +2042,7 @@
*/
// Our prime number as a base for operations.
-var dh_prime = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321';
+var dh_prime = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703';
// g, a primitive root used as an exponent
// (2 and 5 are acceptable, but BigInt is faster with odd numbers)
--- a/includes/diffiehellman.php Sun Nov 09 14:10:24 2008 -0500
+++ b/includes/diffiehellman.php Sun Nov 09 14:22:41 2008 -0500
@@ -28,7 +28,7 @@
$dh_supported = false;
}
// Our prime number as a base for operations.
-$GLOBALS['dh_prime'] = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321';
+$GLOBALS['dh_prime'] = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703';
// g, a primitive root used as an exponent
// (2 and 5 are acceptable, but BigInt is faster with odd numbers)
--- a/includes/sql_parse.php Sun Nov 09 14:10:24 2008 -0500
+++ b/includes/sql_parse.php Sun Nov 09 14:22:41 2008 -0500
@@ -73,9 +73,14 @@
{
throw new Exception('SQL file doesn\'t exist');
}
+
}
$this->sql_array = false;
$this->tpl_strings = array();
+
+ // convert \r\n in the schema to \n, in case some FTP client or zip utility ran unix2dos for us
+ // thanks to InvisGhost for reporting this error
+ $this->sql_string = str_replace("\r\n", "\n", $this->sql_string);
}
/**