Skip to content

Commit 8228225

Browse files
author
chencho
committed
Added form to load raml file or url inside the index.phtml
1 parent 90f9470 commit 8228225

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
* @license http://www.gnu.org/licenses/gpl-2.0.html GPL v2
99
*/
1010

11+
if (!empty($_FILES)){
12+
apc_delete('RAMLsource');
13+
$RAMLsource=$_FILES['name']['tmp_name'];
14+
apc_store('RAMLsource' , $RAMLsource);
15+
16+
}
1117

1218
if (isset($_POST["name"])) {
1319
apc_delete('RAMLsource');

0 commit comments

Comments
 (0)