change dev index.php

This commit is contained in:
yuri
2015-04-02 15:20:05 +03:00
parent 6066cf1d65
commit a7f537879e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -29,7 +29,9 @@ if (!empty($_GET['entryPoint'])) {
exit;
}
$runScript = "app.start();";
$html = file_get_contents("frontend/main.html");
$html = str_replace('{{runScript}}', $runScript , $html);
echo $html;
exit;
+1 -1
View File
@@ -77,7 +77,7 @@
useCache: false,
url: '../api/v1',
}, function (app) {
app.start();
{{runScript}}
});
});
</script>