-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·51 lines (49 loc) · 985 Bytes
/
Copy pathindex.php
File metadata and controls
executable file
·51 lines (49 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* cms Ferro versao 1.0
* autor: Ricardo Filipo <ricardo.filipo@mitologica.com.br>
* 12/02/2010
*
* PHP version 5.2.6
*
* @category PHP
* @package CMSFerro
* @author Ricardo Filipo <ricardo.filipo@mitologica.com.br>
* @license GPL Affero
* @version CVS: $Revision$
* @link http://www.kobkob.com.br/ferro/
*
*/
/*! \mainpage CMS Ferro 1.0 (Beta 1)
*
* \section Introdução
*
* A completar
*
* \section Instalação
*
* \subsection Criando a dist
* A completar
*
*/
chdir ('cms');
require_once "./includes/init.php" ;
$login = new Login();
$cms = new CMSControle($login);
if (!$login->autenticou()) {
if ($_GET['ws'] == 'get') {
$cms->ws($_GET['ws']);
} else {
include('deny.html');
}
die();
} else {
if ($_GET['action']) {
$cms->action($_GET['action']);
} else if ($_GET['ws']) {
$cms->ws($_GET['ws']);
} else {
$cms->action('default');
}
}
?>