---
title: "Problem mit Include"
url: "https://www.typo3.net/d/10002-problem-mit-include"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage"]
created: "2004-03-19"
last_reply: "2004-03-19"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Problem mit Include

Extensions › Entwicklung · 1 Antwort · gestartet 2004-03-19

## Eröffnungsbeitrag

**xaos** · 2004-03-19 · [Beitrag #1](https://www.typo3.net/d/10002-problem-mit-include/1)

hat sich erledigt

## Antworten

### [#2](https://www.typo3.net/d/10002-problem-mit-include/2) · Morden · 2004-03-19

> **xaos schrieb:**
>
> Hallo,
>
> hab mal ein Problem..
>
> Also, ich habe mir eine Extension geschrieben welche mittels require_once eine php Datei included..soweit so gut!
> Mach ich dies mit absoluten Pfaden direkt im Code(also /home/www/typo3/...) dann funktioniert alles wunderbar :-)
> Aber nun will ich das ganze ein wenig anpassbarer zu machen habe ich folgendes getan.
>
> constants Datei in der Extension
> --------------------------------------------------------------
> plugin.tx_xaos_pi1 {
>
>     # cat=plugin.xaos; type=string; label= Config Pfad
>   pocconfig = poc/config.inc.php
>
> }
> ------------------------------------------------------------
> setup datei in extension
> -----------------------------------------------------
> plugin.tx_xaos_pi1 {
>
>   pocconfig = {$plugin.tx_xaos_pi1.pocconfig}
>
> }
>
> }

da is eine geschweifte klammer zu viel, oder?

---

Quelle: „Problem mit Include“, typo3.net, https://www.typo3.net/d/10002-problem-mit-include
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
