Revision 1269
Added by Dietmar almost 15 years ago
frontend.functions.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
/**************************************************************************** |
|
3 |
* SVN Version information: |
|
2 |
/* |
|
4 | 3 |
* |
5 |
* $Id$
|
|
4 |
* About WebsiteBaker
|
|
6 | 5 |
* |
7 |
* |
|
8 |
* |
|
9 |
***************************************************************************** |
|
10 |
* WebsiteBaker |
|
11 |
* |
|
12 |
* WebsiteBaker Project <http://www.websitebaker2.org/> |
|
13 |
* Copyright (C) 2009, Website Baker Org. e.V. |
|
14 |
* http://start.websitebaker2.org/impressum-datenschutz.php |
|
15 |
* Copyright (C) 2004-2009, Ryan Djurovich |
|
16 |
* |
|
17 |
* About WebsiteBaker |
|
18 |
* |
|
19 | 6 |
* Website Baker is a PHP-based Content Management System (CMS) |
20 | 7 |
* designed with one goal in mind: to enable its users to produce websites |
21 | 8 |
* with ease. |
22 | 9 |
* |
23 |
*****************************************************************************
|
|
10 |
* LICENSE INFORMATION
|
|
24 | 11 |
* |
25 |
***************************************************************************** |
|
26 |
* LICENSE INFORMATION |
|
27 |
* |
|
28 | 12 |
* WebsiteBaker is free software; you can redistribute it and/or |
29 | 13 |
* modify it under the terms of the GNU General Public License |
30 | 14 |
* as published by the Free Software Foundation; either version 2 |
... | ... | |
38 | 22 |
* You should have received a copy of the GNU General Public License |
39 | 23 |
* along with this program; if not, write to the Free Software |
40 | 24 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
41 |
**************************************************************************** |
|
42 | 25 |
* |
43 | 26 |
* WebsiteBaker Extra Information |
44 | 27 |
* |
45 | 28 |
* |
46 |
* |
|
47 |
* |
|
48 |
* |
|
49 |
* |
|
50 |
* |
|
51 |
* |
|
52 |
*****************************************************************************/ |
|
29 |
*/ |
|
53 | 30 |
/** |
54 | 31 |
* |
55 |
* @category frontend |
|
56 |
* @package functions |
|
57 |
* @author Ryan Djurovich |
|
58 |
* @copyright 2004-2009, Ryan Djurovich |
|
59 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
60 |
* @version $Id$ |
|
61 |
* @platform WebsiteBaker 2.8.x |
|
62 |
* @requirements >= PHP 4.3.4 |
|
63 |
* @license http://www.gnu.org/licenses/gpl.html |
|
32 |
* @category frontend |
|
33 |
* @package functions |
|
34 |
* @author WebsiteBaker Project |
|
35 |
* @copyright 2004-2009, Ryan Djurovich |
|
36 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
37 |
* @link http://www.websitebaker2.org/ |
|
38 |
* @license http://www.gnu.org/licenses/gpl.html |
|
39 |
* @platform WebsiteBaker 2.8.x |
|
40 |
* @requirements PHP 4.3.4 and higher |
|
41 |
* @version $Id$ |
|
42 |
* @filesource $HeadURL: $ |
|
43 |
* @lastmodified $Date: $ |
|
64 | 44 |
* |
65 |
*/
|
|
45 |
*/ |
|
66 | 46 |
|
67 | 47 |
if(!defined('WB_URL')) { |
68 | 48 |
header('Location: ../index.php'); |
... | ... | |
234 | 214 |
if ($wb->page_access_denied==true) |
235 | 215 |
{ |
236 | 216 |
echo $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS']; |
237 |
exit();
|
|
217 |
return;
|
|
238 | 218 |
} |
239 | 219 |
if ($wb->page_no_active_sections==true) |
240 | 220 |
{ |
241 | 221 |
echo $MESSAGE['FRONTEND']['SORRY_NO_ACTIVE_SECTIONS']; |
242 |
exit();
|
|
222 |
return;
|
|
243 | 223 |
} |
244 | 224 |
if(isset($globals) AND is_array($globals)) |
245 | 225 |
{ |
Also available in: Unified diff
Ticket #869 Droplet-Engine does'nt work in some case
continue update header info