Revision 1538
Added by Luisehahne almost 14 years ago
| view.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
/** |
| 3 | 3 |
* |
| 4 |
* @category WebsiteBaker |
|
| 5 |
* @package modules |
|
| 6 |
* @subpackage news |
|
| 7 |
* @author Ryan Djurovich, Rob Smith, Werner v.d.Decken |
|
| 8 |
* @copyright 2004-2011, Ryan Djurovich |
|
| 4 |
* @category modules |
|
| 5 |
* @package news |
|
| 6 |
* @author WebsiteBaker Project |
|
| 7 |
* @copyright 2009-2011, Website Baker Org. e.V. |
|
| 9 | 8 |
* @link http://www.websitebaker2.org/ |
| 10 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
| 10 |
* @platform WebsiteBaker 2.8.x |
|
| 11 |
* @requirements PHP 5.2.2 and higher |
|
| 11 | 12 |
* @version $Id$ |
| 12 | 13 |
* @filesource $HeadURL$ |
| 14 |
* @lastmodified $Date$ |
|
| 13 | 15 |
* |
| 14 | 16 |
*/ |
| 15 | 17 |
|
| 16 | 18 |
// Must include code to stop this file being access directly |
| 17 |
if(defined('WB_PATH') == false) { exit("Cannot access this file directly"); }
|
|
| 19 |
/* -------------------------------------------------------- */ |
|
| 20 |
if(defined('WB_PATH') == false)
|
|
| 21 |
{
|
|
| 22 |
// Stop this file being access directly |
|
| 23 |
die('<head><title>Access denied</title></head><body><h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2></body></html>');
|
|
| 24 |
} |
|
| 25 |
/* -------------------------------------------------------- */ |
|
| 18 | 26 |
global $post_id, $post_section,$TEXT,$MESSAGE; |
| 19 | 27 |
|
| 20 | 28 |
// load module language file |
Also available in: Unified diff
! add table db engine in module install scripts
! some small updates in modules