Skip to content

Commit

Permalink
Fix some broken paths and broken string concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Mar 15, 2012
1 parent ad516fa commit 2cf9edc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions public/api/get_all_characters_before_restart.php
Expand Up @@ -5,14 +5,14 @@

header("Content-Type: text/plain; charset=UTF-8");

require_once("CONSTANTS.inc");
require_once("db.inc");
require_once("../../lib/CONSTANTS.inc");
require_once("../../lib/db.inc");
$connection = getConnection();

$list = array();
try {
$query =
"SELECT id,x,y FROM characters WHERE x IS NOT NULL AND active = 1" +
"SELECT id,x,y FROM characters WHERE x IS NOT NULL AND active = 1" .
" ORDER BY x";
$resultset = mysql_query($query, $connection) or
throwException(mysql_error());
Expand Down
4 changes: 2 additions & 2 deletions public/api/get_uncompleted_characters.php
Expand Up @@ -5,8 +5,8 @@

header("Content-Type: text/plain; charset=UTF-8");

require_once("CONSTANTS.inc");
require_once("db.inc");
require_once("../../lib/CONSTANTS.inc");
require_once("../../lib/db.inc");
$connection = getConnection();

$x = $_GET["x"];
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Expand Up @@ -54,7 +54,7 @@
<body>
<div id="content">
<div id="title">Mozilla Vision 2012</div>
<object id="parapara" data="http://parapara.mozlabs.jp/MozillaVision2012/wall-gallery/">
<object id="parapara" data="wall-gallery/">
</object>
<div id="description">
<div id="date">2012/01/22</div>
Expand Down

0 comments on commit 2cf9edc

Please sign in to comment.