Skip to content

Commit

Permalink
#27 fix "headers already sent" on load page
Browse files Browse the repository at this point in the history
  • Loading branch information
rbewley4 committed Aug 1, 2014
1 parent fa0ad78 commit 7331c88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Creator/version4/popup-contents/load.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<?php
session_start();
?>
<form action="index.php" id="loadForm" method="POST" enctype="multipart/form-data">
<table id="table_load" align="center">
<tr align="center">
Expand Down Expand Up @@ -33,8 +36,7 @@
<tr align="center">
<td>
<div id="errorLoadMsg">
<?php
session_start();
<?php
if($_SESSION['versioningFault']){
echo "<label style='color:red'>Your file version is too old and no more compatible, sorry.</label>";
}
Expand Down

0 comments on commit 7331c88

Please sign in to comment.