-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
37 lines (32 loc) · 1.73 KB
/
index.php
File metadata and controls
37 lines (32 loc) · 1.73 KB
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
<?php /* -*- tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
/***************************************************************\
* WebmasterTools *
* Based on GoogleTools from Xave *
* *
* Copyright (c) 2013 *
* Régis FLORET *
* *
* This is 'Google Stuff', a plugin for Dotclear 2 *
* *
* Copyright (c) 2008 *
* xave and contributors. *
* *
* This is an open source software, distributed under the GNU *
* General Public License (version 2) terms and conditions. *
* *
* You should have received a copy of the GNU General Public *
* License along with 'My Favicon' (see COPYING.txt); *
* if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
\***************************************************************/
if (!defined('DC_CONTEXT_ADMIN')) { return; }
include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'class.webmastertools.php';
$wmt = new webmasterTools($core);
$wmt->doActionIfAny();
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
$wmt->registerSettings();
$wmt->redirectToRoot();
}
include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'index.php';
?>