diff options
author | Chaoyi Zha <summermontreal@gmail.com> | 2015-07-01 06:32:44 +0300 |
---|---|---|
committer | Chaoyi Zha <summermontreal@gmail.com> | 2015-07-01 06:32:44 +0300 |
commit | aac03e81eaff2909aac3c9adfec0281dae9c0a46 (patch) | |
tree | 160127a9d1c81961da8ceaa6a184f7e604d46545 | |
parent | 26c6ad2b7ac3f86ba4d1b7a3cd7661412c064fbc (diff) |
Remove external calls to GH raw, replace with something better lataer
-rw-r--r-- | admin/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/index.php b/admin/index.php index f2cf1f3..d706619 100644 --- a/admin/index.php +++ b/admin/index.php @@ -208,7 +208,7 @@ if (!is_array($auth->islogged())) { $linksadmin .= paginate_table($admin_links_page, $admin_links_total_pages, "alpage", "adminpanel"); - $status = file_get_contents('https://raw.githubusercontent.com/Cydrobolt/polr/notices/anotices'); // fetch notices from Github + $status = "";// file_get_contents('https://raw.githubusercontent.com/Cydrobolt/polr/notices/anotices'); // fetch notices from Github if (strlen($status)<30) { $msges = '<div class="tab-pane" id="messages"><br><b>There are <span style="color:green">no new messages</span>.</b></div>'; } @@ -218,7 +218,7 @@ if (!is_array($auth->islogged())) { } else { // Shown to users - $status = file_get_contents('https://raw.githubusercontent.com/Cydrobolt/polr/notices/unotices'); // fetch notices from Github + $status = "";// file_get_contents('https://raw.githubusercontent.com/Cydrobolt/polr/notices/unotices'); // fetch notices from Github if (strlen($status)<30) { $msges = '<div class="tab-pane" id="messages"><br><b>There are <span style="color:green">no new messages</span>.</b></div>'; } |