~josephjamesmills/zpanelcp/zpanelcp

« back to all changes in this revision

Viewing changes to backups/zpanelx-10-zpanelx/modules/phpmyadmin/code/controller.ext.php

  • Committer: Joseph Mills
  • Date: 2012-05-12 06:38:23 UTC
  • Revision ID: josephjamesmills@gmail.com-20120512063823-nnb5w44xdkkbg8ds
made new framework and got ride of the backupfiles fixed amny of the bugs or tried too at least. added steps tpwards making ssl by default. Fixed apache virtual host files and moved to the right area. fixed all things too go under /var/www. and not /etc/. changed all the persission so that no one can read all files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
/**
4
 
 *
5
 
 * ZPanel - A Cross-Platform Open-Source Web Hosting Control panel.
6
 
 * 
7
 
 * @package ZPanel
8
 
 * @version $Id$
9
 
 * @author Bobby Allen - ballen@zpanelcp.com
10
 
 * @copyright (c) 2008-2011 ZPanel Group - http://www.zpanelcp.com/
11
 
 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License v3
12
 
 *
13
 
 * This program (ZPanel) is free software: you can redistribute it and/or modify
14
 
 * it under the terms of the GNU General Public License as published by
15
 
 * the Free Software Foundation, either version 3 of the License, or
16
 
 * (at your option) any later version.
17
 
 *
18
 
 * This program is distributed in the hope that it will be useful,
19
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 
 * GNU General Public License for more details.
22
 
 *
23
 
 * You should have received a copy of the GNU General Public License
24
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
25
 
 *
26
 
 */
27
 
 
28
 
class module_controller {
29
 
        
30
 
        static function getModuleName() {
31
 
                $module_name = ui_module::GetModuleName();
32
 
        return $module_name;
33
 
    }
34
 
 
35
 
        static function getModuleIcon() {
36
 
                global $controller;
37
 
                $module_icon = "modules/" . $controller->GetControllerRequest('URL', 'module') . "/assets/icon.png";
38
 
        return $module_icon;
39
 
    }
40
 
 
41
 
        static function getModuleDesc() {
42
 
                $message = ui_language::translate(ui_module::GetModuleDescription());
43
 
        return $message;
44
 
    }
45
 
}
46
 
 
47
 
?>
 
 
b'\\ No newline at end of file'