Skip to content

Commit

Permalink
Bug fixes for "About your library" feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmfurtado committed Apr 6, 2015
1 parent 131eb36 commit dd6418f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion server/_header.php
@@ -1,7 +1,10 @@
<?php require_once '_header.mandatory.php' ?>
<?php
$config->about = $database->select("TB_ABOUT", "*");
$config->about = $database->select("tb_about", "*");
$config->about = $config->about[0];

// Meddo put lots of \ in the HTML. Let's remove them.
$config->about['site_welcome'] = str_replace(array('\\'),'',$config->about['site_welcome']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
Expand Down
2 changes: 1 addition & 1 deletion server/index.php
@@ -1 +1 @@
<?php header('Location: bookSearch.php'); ?>
<?php header('Location: aboutShow.php'); ?>

0 comments on commit dd6418f

Please sign in to comment.