Skip to content

Commit

Permalink
replace api url and root url
Browse files Browse the repository at this point in the history
  • Loading branch information
PhieF committed Sep 24, 2018
1 parent 08f108f commit 0538c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
$file = str_replace("src=\"","defer src=\"".$root."/CarnetElectron/",$file);


$file = str_replace("<!ROOTURL>", $root."/CarnetElectron/", $file);
$file = str_replace("<!APIURL>", "../../../index.php/apps/carnet/", $file);


echo $file;
echo "<span style=\"display:none;\" id=\"root-url\">".$root."/CarnetElectron/</span>";
echo "<span style=\"display:none;\" id=\"api-url\">../../../index.php/apps/carnet/</span>";

?>

0 comments on commit 0538c01

Please sign in to comment.