瀏覽代碼

Small Things to Sync (#796)

Dennis 2 年之前
父節點
當前提交
67d4603676
共有 3 個文件被更改,包括 11 次插入9 次删除
  1. 6 6
      README.md
  2. 4 2
      app/Http/Controllers/HomeController.php
  3. 1 1
      config/app.php

+ 6 - 6
README.md

@@ -22,8 +22,8 @@
 ![controlpanel](https://user-images.githubusercontent.com/67899387/214684708-739c1d21-06e8-4dec-a4f1-81533a46cc7e.png)
 ![controlpanel](https://user-images.githubusercontent.com/67899387/214684708-739c1d21-06e8-4dec-a4f1-81533a46cc7e.png)
 
 
 
 
-![](https://img.shields.io/endpoint?label=v0.9%20Installations&url=https%3A%2F%2Fmarket.controlpanel.gg%2Fcallhome.php%3Fgetinstalls)
-![](https://img.shields.io/badge/Overall%20Installations-3500%2B-green)
+![](https://img.shields.io/endpoint?label=v0.9%20Installations&url=https%3A%2F%2Fmarket.ctrlpanel.gg%2Fcallhome.php%3Fgetinstalls)
+![](https://img.shields.io/badge/Overall%20Installations-5000%2B-green)
 ![](https://img.shields.io/github/stars/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/forks/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/tag/ControlPanel-gg/dashboard) [![Crowdin](https://badges.crowdin.net/controlpanelgg/localized.svg)](https://crowdin.com/project/controlpanelgg) ![](https://img.shields.io/github/issues/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/license/ControlPanel-gg/dashboard) ![](https://img.shields.io/discord/787829714483019826)
 ![](https://img.shields.io/github/stars/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/forks/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/tag/ControlPanel-gg/dashboard) [![Crowdin](https://badges.crowdin.net/controlpanelgg/localized.svg)](https://crowdin.com/project/controlpanelgg) ![](https://img.shields.io/github/issues/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/license/ControlPanel-gg/dashboard) ![](https://img.shields.io/discord/787829714483019826)
 ## About
 ## About
 
 
@@ -31,15 +31,15 @@ ControlPanel's Dashboard is a dashboard application designed to offer clients a
 
 
 This dashboard offers an easy to use and free billing solution for all starting and experienced hosting providers. This dashboard has many customisation options and added discord Oauth verification to offer a solid link between your discord server and your dashboard. You can check our [Demo here](https://demo.controlpanel.gg "Demo").
 This dashboard offers an easy to use and free billing solution for all starting and experienced hosting providers. This dashboard has many customisation options and added discord Oauth verification to offer a solid link between your discord server and your dashboard. You can check our [Demo here](https://demo.controlpanel.gg "Demo").
 
 
-### [Installation](https://controlpanel.gg/docs/intro "Installation")
+### [Installation](https://ctrlpanel.gg/docs/intro "Installation")
 
 
-### [Updating](https://controlpanel.gg/docs/Installation/updating "Updating")
+### [Updating](https://ctrlpanel.gg/docs/Installation/updating "Updating")
 
 
 ### [Discord](https://discord.gg/4Y6HjD2uyU "Discord")
 ### [Discord](https://discord.gg/4Y6HjD2uyU "Discord")
 
 
-### [Contributing](https://controlpanel.gg/docs/Contributing/contributing "Contributing")
+### [Contributing](https://ctrlpanel.gg/docs/Contributing/contributing "Contributing")
 
 
-### [Donating](https://controlpanel.gg/docs/Contributing/donating "Donating")
+### [Donating](https://ctrlpanel.gg/docs/Contributing/donating "Donating")
 
 
 
 
 
 

+ 4 - 2
app/Http/Controllers/HomeController.php

@@ -27,6 +27,8 @@ class HomeController extends Controller
         $this->middleware('auth');
         $this->middleware('auth');
     }
     }
 
 
+    /*
+    * TODO: This is commented due to the fact the market is a bad dependency, will be changed later.
     public function callHome()
     public function callHome()
     {
     {
         if (Storage::exists('callHome')) {
         if (Storage::exists('callHome')) {
@@ -36,7 +38,7 @@ class HomeController extends Controller
             'id' => Hash::make(URL::current()),
             'id' => Hash::make(URL::current()),
         ]);
         ]);
         Storage::put('callHome', 'This is only used to count the installations of cpgg.');
         Storage::put('callHome', 'This is only used to count the installations of cpgg.');
-    }
+    }*/
 
 
     /**
     /**
      * @description Get the Background Color for the Days-Left-Box in HomeView
      * @description Get the Background Color for the Days-Left-Box in HomeView
@@ -107,7 +109,7 @@ class HomeController extends Controller
             $unit = $daysLeft < 1 ? ($hoursLeft < 1 ? null : __('hours')) : __('days');
             $unit = $daysLeft < 1 ? ($hoursLeft < 1 ? null : __('hours')) : __('days');
         }
         }
 
 
-        $this->callhome();
+        //$this->callhome(); TODO: Same as the function
 
 
         // RETURN ALL VALUES
         // RETURN ALL VALUES
         return view('home')->with([
         return view('home')->with([

+ 1 - 1
config/app.php

@@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Facade;
 
 
 return [
 return [
 
 
-    'version' => '0.9.3',
+    'version' => '0.9.4',
 
 
     /*
     /*
     |--------------------------------------------------------------------------
     |--------------------------------------------------------------------------