Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2018-09-25 00:40:03 +0300
committerPhie <phie@phie.ovh>2018-09-25 00:40:03 +0300
commit0538c01534214cef108db5ebc1e3bae2172e5b25 (patch)
tree81eaf30ae1ed433472408fa691fd6ef192897319
parent08f108f75db3c99c0b4717316e66f0f28d87e9be (diff)
-rwxr-xr-xtemplates/writer.php4
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