diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-01-13 00:48:07 -0600 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-01-13 00:48:07 -0600 |
commit | 468e9a700736166f175b974e185d24d0d2a4f33e (patch) | |
tree | b6285a4ff0922225655575b96cfb775a9ed0174c /pages/massemail.php | |
parent | bc85a3f1cf8030f1d6400f24b70ea16f717350bd (diff) | |
download | pathery-468e9a700736166f175b974e185d24d0d2a4f33e.tar.xz |
db.inc.php now only contains the database login info; the actual connection to the DB has been moved to includes/sqlEmbedded. This was done so we don't need to have the db info in two separate files (one of which is in the repo, derp)
Diffstat (limited to 'pages/massemail.php')
-rw-r--r-- | pages/massemail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/massemail.php b/pages/massemail.php index a861500..d45588b 100644 --- a/pages/massemail.php +++ b/pages/massemail.php @@ -6,7 +6,7 @@ htmlHeader(); topbar($Links);
include('./includes/datas.php');
-include('./includes/db.inc.php');
+include('./includes/sqlEmbedded.php');
if (isset($_POST['massemail']) AND isset($_SESSION['accepted'])) {
@@ -22,7 +22,7 @@ if (isset($_POST['massemail']) AND isset($_SESSION['accepted'])) { if (!is_int($userID))
return;
- include_once "includes/db.inc.php";
+ include_once "includes/sqlEmbedded.php";
$sql = "SELECT `email` FROM `users`
WHERE `ID` = '$userID'";
$result = mysql_query($sql);
|