From 9eed447539bb2c2bdab13a2306c2be36963df37b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 2 Nov 2015 16:01:11 +0100 Subject: 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 --- application/controllers/file.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'application/controllers/file.php') 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]; -- cgit v1.2.3-24-g4f1b