hallo,
der anfang der editfunc.inc.php sieht so aus:
<?php
/*
Newswriter SW 1.0
PHP News Management System
Copyright (C) 2003 Sebastian Baumann
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the license, or
(at your option) any later version.
See license.txt for further information.
http://nw.scriptworker.cominfo@scriptworker.com editfunc.inc.php, last change: 06.08.2003
These functions are only required if Newswriter runs in edit-mode:
* prepare_text(string text) (line 31)
* bbcode2html(string text) (line 83)
* html2bbcode(string text) (line 108)
* strip_quots(string text) (line 125)
* add_quots(string text) (line 130)
* link_url(string text) (line 136)
* send_infomail() (line 160)
* show_edit() (line 200)
*/
if(!defined('HAUPTSEITE')) {
header("Location: ../index.php");
exit;
}
include($NWCONF_SYSTEM['server_path'].'include/javascript.inc'.$NWCONF_SYSTEM['php_ext']);
require($NWCONF_SYSTEM['server_path'].'include/text-out.inc'.$NWCONF_SYSTEM['php_ext']);
require($NWCONF_SYSTEM['server_path'].'include/images.inc'.$NWCONF_SYSTEM['php_ext']);
// Prepare texts for output inside form tags:
function prepare_text($string)
nehme ich den folgenden code raus
if(!defined('HAUPTSEITE')) {
header("Location: ../index.php");
exit;
}
funktioniert es wieder
mfg
brummi