<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I want to create a farm with a field.<br>
<br>
The wikifarm is at <a class="moz-txt-link-freetext" href="http://wikifarm.icotech.ca">http://wikifarm.icotech.ca</a><br>
The field is at <a class="moz-txt-link-freetext" href="http://progestech.icotech.ca">http://progestech.icotech.ca</a><br>
<br>
In the farm, I create a local/farmconfig.php like this:<br>
<pre><?php
$FarmPubDirUrl = <a class="moz-txt-link-rfc2396E" href="http://wikifarm.icotech.ca/pub">"http://wikifarm.icotech.ca/pub"</a>;
$EnableLocalConfig = 1;
$EnableDiag=1;
include_once('local/config.php');
?></pre>
In the field I create field.php like this:<br>
<pre><?php include(<a class="moz-txt-link-rfc2396E" href="http://wikifarm.icotech.ca/pmwiki.php">"http://wikifarm.icotech.ca/pmwiki.php"</a>); ?></pre>
... and a local/config.php like this:<br>
<pre><?php if (!defined('PmWiki')) exit();
$ScriptUrl = <a class="moz-txt-link-rfc2396E" href="http://progestech.icotech.ca/field.php">"http://progestech.icotech.ca/field.php"</a>;
$PubDirUrl = <a class="moz-txt-link-rfc2396E" href="http://progestech.icotech.ca/pub">"http://progestech.icotech.ca/pub"</a>;
$PageTemplateFmt = "$PubDirUrl/skins/progestech/pmwiki.tmpl";
$WikiTitle = 'Progestech';
$Skin = 'progestech';
$EnableDiag = 1; # enable remote diagnostics
$DefaultName="Accueil";
?></pre>
...and also a skin in pub/skins/progestech.<br>
<br>
When I execute <a href="http://progestech.icotech.ca/field.php">http://progestech.icotech.ca/field.php</a>,
...<br>
It seems that the script ignore the config.php in my wiki field. Why?<br>
<div class="moz-signature">-- <br>
<hr><b>Benoît Pruneau</b><br>
<a class="moz-txt-link-abbreviated" href="mailto:ben@icotech.ca">ben@icotech.ca</a><br>
<br>
</div>
</body>
</html>