Skip to content

Commit

Permalink
Added form to load raml file or url inside the index.phtml
Browse files Browse the repository at this point in the history
  • Loading branch information
chencho committed Mar 14, 2018
1 parent 90f9470 commit 8228225
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
* @license http://www.gnu.org/licenses/gpl-2.0.html GPL v2
*/

if (!empty($_FILES)){
apc_delete('RAMLsource');
$RAMLsource=$_FILES['name']['tmp_name'];
apc_store('RAMLsource' , $RAMLsource);

}

if (isset($_POST["name"])) {
apc_delete('RAMLsource');
Expand Down

0 comments on commit 8228225

Please sign in to comment.