Skip to content

Commit

Permalink
Adjusted undefined variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomer committed Oct 3, 2016
1 parent b43fcc8 commit 55790c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

session_start();

$config = json_decode(file_get_contents("config.json"), true);

function get_current_url() {
Expand Down Expand Up @@ -46,7 +46,7 @@ function get_current_url() {
</div>

<div id="pic-info-wrap" class="menu-item<?=($config['unsplash_client_id'] == '') ? ' hidden' : ''; ?>">
<span id="pic-info">Picture by <a href="<?= $image_user_url; ?>" id="pic-info-url"><?= $image_user_name; ?></a></span>
<span id="pic-info">Picture by <a href="#" id="pic-info-url"></a></span>
</div>

<script type="text/javascript" src="hp_assets/js/jquery.min.js"></script>
Expand Down

0 comments on commit 55790c3

Please sign in to comment.