Logisch, denn das Ilch-System nimmt jede Eingabe an. Sollte das Modul nicht existieren, wird auf die Startseite verlinkt.
Dann setze in der include/includes/class/menu.php statt
# diverse sachen geprueft zum zurueck geben,
# is halt so dings wegen selfpages usw...
if ( !file_exists ( $pfad.'/'.$this->get(0).'.php' ) AND file_exists($pfad.'/selfbp/selfp/'.$this->get(0).'.php') ) {
$this->set_url ( 1, $this->get(0) );
$this->set_url ( 0, 'self' );
} elseif ( !file_exists ( $pfad.'/'.$this->get(0).'.php' ) ) {
if (substr($smod,0,5) == 'self-') {
$this->set_url ( 1, substr($smod, 5));
$this->set_url ( 0, 'self' );
} elseif (file_exists($pfad.'/selfbp/selfp/'.$smod.'.php')) {
$this->set_url ( 1, $smod );
$this->set_url ( 0, 'self');
} else {
$this->set_url (0, $smod);
}
}
mal folgendes ein
# diverse sachen geprueft zum zurueck geben,
# is halt so dings wegen selfpages usw...
if ( !file_exists ( $pfad.'/'.$this->get(0).'.php' ) AND file_exists($pfad.'/selfbp/selfp/'.$this->get(0).'.php') ) {
$this->set_url ( 1, $this->get(0) );
$this->set_url ( 0, 'self' );
} elseif ( !file_exists ( $pfad.'/'.$this->get(0).'.php' ) ) {
if (substr($smod,0,5) == 'self-') {
$this->set_url ( 1, substr($smod, 5));
$this->set_url ( 0, 'self' );
} elseif (file_exists($pfad.'/selfbp/selfp/'.$smod.'.php')) {
$this->set_url ( 1, $smod );
$this->set_url ( 0, 'self');
} else {
$this->set_url ( 1, 'NAME DEINER 404-SEITE' );
$this->set_url ( 0, 'self' );
}
}
"NAME DEINER 404-SEITE" natürlich ersetzen.