summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-11-02 16:01:11 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-11-02 16:04:54 +0100
commit9eed447539bb2c2bdab13a2306c2be36963df37b (patch)
treed35d80b6ec9ed9eadf46643c055d183078f0bc5b /application/controllers/file.php
parenta3d2bc5e08752faac9f9b8c024674edc755bd65e (diff)
view/client: Hardcode URLs
Clients are only hosted on paste.xinu.at and everywhere else the links will point to missing files so they become useless. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 7d701b75e..2c68114a7 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -583,9 +583,6 @@ class File extends MY_Controller {
} else {
$this->data['client_link'] = false;
}
- $this->data['client_link_dir'] = base_url().'data/client/';
- $this->data['client_link_deb'] = base_url().'data/client/deb/';
- $this->data['client_link_slackware'] = base_url().'data/client/slackware/';
if (preg_match('#^https?://(.*?)/.*$#', site_url(), $matches) === 1) {
$this->data["domain"] = $matches[1];