File: 0.00.1a/pages/debug.php (View as Code)

1: 2: /* ------------------------------------------------------------- 3: This file is part of FreeDESK 4: 5: FreeDESK is (C) Copyright 2012 David Cutting 6: 7: FreeDESK is free software: you can redistribute it and/or modify 8: it under the terms of the GNU General Public License as published by 9: the Free Software Foundation, either version 3 of the License, or 10: (at your option) any later version. 11: 12: FreeDESK is distributed in the hope that it will be useful, 13: but WITHOUT ANY WARRANTY; without even the implied warranty of 14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15: GNU General Public License for more details. 16: 17: You should have received a copy of the GNU General Public License 18: along with FreeDESK. If not, see www.gnu.org/licenses 19: 20: For more information see www.purplepixie.org/freedesk/ 21: -------------------------------------------------------------- */ 22: 23: /** 24: * Debug page 25: **/ 26: global $DESK; 27: echo "
\n"; 28: echo "

FreeDESK Version: ".$DESK->FullVersion()."


\n";
29: 30: echo "Sub-Components

";
31: echo ""; 32: echo ""; 33: $plugs=$DESK->PluginManager->GetAll(); 34: foreach($plugs as $plug) 35: { 36: echo ""; 37: echo ""; 38: echo ""; 42: echo ""; 43: } 44: echo "
Module NameVersionType / Sub-Type
".$plug->name."".$plug->version."".$plug->type." "; 39: if ($plug->subtype != "") 40: echo "/ ".$plug->subtype; 41: echo "
\n";
45: 46: echo "
\n";
47: 48: echo "

";
49: 50: echo "\n"; 53: 54: // 57: 58: