Hallo zusammen,
wer kann mir helfen... ich drehe fast durch AHAHAHAH
es geht um die index.php im root-verzeichnis...
was will ich:
1. ich schreibe in der index.php eine variable (siehe Beispiel)
nun möchte ich das zum beispiel in meinem template diese variable durch ein include aufgerufen wird. wenn ich das richtig verstanden habe ist ein include nicht nötig, da es hier ja um die index.php aus den root geht. dennoch bekomme ich keine ausgabe, egal was ich mache :-(Code:<?php /** * @version $Id: index.php 14401 2010-01-26 14:10:00Z louis $ * @package Joomla * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ // Set flag that this is a parent file define( '_JEXEC', 1 ); define('JPATH_BASE', dirname(__FILE__) ); define( 'DS', DIRECTORY_SEPARATOR ); require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); $machwas = 'was soll ich machen!!!'; <====== HIER DIE VARIABLE
vorab schon mal danke fürs helfen...


LinkBack URL
About LinkBacks
Zitieren

Lesezeichen