Skip to content

Commit

Permalink
add debug print for session #36
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jan 5, 2016
1 parent 4553275 commit 7d763bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions application/controllers/Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ function login() {
}

echo json_encode($result);
}else{
echo "POST FAIL";
}

}

/**
Expand Down
3 changes: 2 additions & 1 deletion application/views/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,5 @@
</div>
</div>
</div>
</header>
</header>
<?php var_dump($this->session->userdata());?>

0 comments on commit 7d763bd

Please sign in to comment.