diff options
author | Phie <phie@phie.ovh> | 2018-09-25 00:40:03 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2018-09-25 00:40:03 +0300 |
commit | 0538c01534214cef108db5ebc1e3bae2172e5b25 (patch) | |
tree | 81eaf30ae1ed433472408fa691fd6ef192897319 | |
parent | 08f108f75db3c99c0b4717316e66f0f28d87e9be (diff) |
replace api url and root urlv0.8.1-betav0.8.0-beta.2v0.8.0-beta.1v0.8.0-betav0.8-2v0.8-1
-rwxr-xr-x | templates/writer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/writer.php b/templates/writer.php index 3aace41..8240d25 100755 --- a/templates/writer.php +++ b/templates/writer.php @@ -14,10 +14,10 @@ $root = substr(__DIR__, strlen($_SERVER['DOCUMENT_ROOT'])); $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>"; ?>
\ No newline at end of file |