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

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2021-02-23 20:06:32 +0300
committerGitHub <noreply@github.com>2021-02-23 20:06:32 +0300
commit7477fa0b000f3aec991c0a20f04d81972b4cc56e (patch)
tree8fd29bb5716afa3b9d575af290777a825b360839 /page-talk.php
parent3512b3765b346d849436107557ad9ed1f81a0f21 (diff)
do not fetch local files via web (#1454)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'page-talk.php')
-rw-r--r--page-talk.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/page-talk.php b/page-talk.php
index d039dc1d..bb3ce735 100644
--- a/page-talk.php
+++ b/page-talk.php
@@ -207,7 +207,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/monitoring.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/monitoring.svg"); ?>
</div>
</div>
</div>
@@ -219,7 +219,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/cut.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/cut.svg"); ?>
</div>
</div>
</div>
@@ -231,7 +231,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/people.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/people.svg"); ?>
</div>
</div>
</div>
@@ -243,7 +243,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/encrypted-communication.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/encrypted-communication.svg"); ?>
</div>
</div>
</div>
@@ -255,7 +255,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/manual.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/manual.svg"); ?>
</div>
</div>
</div>
@@ -267,7 +267,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/mobile.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/mobile.svg"); ?>
</div>
</div>
</div>
@@ -279,7 +279,7 @@
<div class="col-sm-3 col-lg-2 featureblock">
<div class="icon">
<div class="scaling-svg-container">
- <?php echo file_get_contents(get_template_directory_uri()."/assets/img/icons/group.svg"); ?>
+ <?php echo file_get_contents(__DIR__."/assets/img/icons/group.svg"); ?>
</div>
</div>
</div>