<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Max,<BR>
Remember some of us run Wifidog Auth in a chrooted jail environment, so anything that is wifidog/ (aka public_html) needs to stay below that structure or we berak things<BR>
<BR>
-Pete Flaherty<BR>
<BR>
On Mon, 2006-01-30 at 01:46 +0100, Max Horv&#225;th wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">-----BEGIN PGP SIGNED MESSAGE-----</FONT>
<FONT COLOR="#000000">Hash: SHA1</FONT>

<FONT COLOR="#000000">Hello developer folks,</FONT>

<FONT COLOR="#000000">I'd like to talk about the directory structure of WiFiDog.</FONT>

<FONT COLOR="#000000">This is our current directory structure:</FONT>

<FONT COLOR="#000000">/</FONT>
<FONT COLOR="#000000">   /sql</FONT>
<FONT COLOR="#000000">   /wifidog</FONT>
<FONT COLOR="#000000">     /admin</FONT>
<FONT COLOR="#000000">       /templates</FONT>
<FONT COLOR="#000000">     /auth</FONT>
<FONT COLOR="#000000">     /classes</FONT>
<FONT COLOR="#000000">       /Content</FONT>
<FONT COLOR="#000000">         /Avatar</FONT>
<FONT COLOR="#000000">         /ContentGroup</FONT>
<FONT COLOR="#000000">         /EmbeddedContent</FONT>
<FONT COLOR="#000000">         /File</FONT>
<FONT COLOR="#000000">         /FlickrPhotostream</FONT>
<FONT COLOR="#000000">         /HTMLeditor</FONT>
<FONT COLOR="#000000">         /IFrame</FONT>
<FONT COLOR="#000000">         /IFrameRest</FONT>
<FONT COLOR="#000000">         /Langstring</FONT>
<FONT COLOR="#000000">         /PatternLanguage</FONT>
<FONT COLOR="#000000">         /Picture</FONT>
<FONT COLOR="#000000">         /RssAggregator</FONT>
<FONT COLOR="#000000">         /SimpleIFrame</FONT>
<FONT COLOR="#000000">         /TrivialLangstring</FONT>
<FONT COLOR="#000000">       /Geocoders</FONT>
<FONT COLOR="#000000">       /StatisticGraph</FONT>
<FONT COLOR="#000000">       /Report</FONT>
<FONT COLOR="#000000">     /content</FONT>
<FONT COLOR="#000000">       /PatternLanguage</FONT>
<FONT COLOR="#000000">     /cron</FONT>
<FONT COLOR="#000000">     /images</FONT>
<FONT COLOR="#000000">       /PatternLanguage</FONT>
<FONT COLOR="#000000">     /include</FONT>
<FONT COLOR="#000000">       /HTMLeditor</FONT>
<FONT COLOR="#000000">         /images</FONT>
<FONT COLOR="#000000">         /toolbar</FONT>
<FONT COLOR="#000000">     /js</FONT>
<FONT COLOR="#000000">     /lib</FONT>
<FONT COLOR="#000000">       /FCKeditor</FONT>
<FONT COLOR="#000000">       /magpie</FONT>
<FONT COLOR="#000000">       /RssPressReview</FONT>
<FONT COLOR="#000000">       /smarty</FONT>
<FONT COLOR="#000000">     /local_content</FONT>
<FONT COLOR="#000000">       /common</FONT>
<FONT COLOR="#000000">       /default</FONT>
<FONT COLOR="#000000">     /locale</FONT>
<FONT COLOR="#000000">       /fr</FONT>
<FONT COLOR="#000000">       /de</FONT>
<FONT COLOR="#000000">     /login</FONT>
<FONT COLOR="#000000">     /ping</FONT>
<FONT COLOR="#000000">     /portal</FONT>
<FONT COLOR="#000000">     /templates</FONT>
<FONT COLOR="#000000">       /HTMLeditor</FONT>
<FONT COLOR="#000000">     /tmp</FONT>
<FONT COLOR="#000000">       /cache</FONT>
<FONT COLOR="#000000">       /magpie_cache</FONT>
<FONT COLOR="#000000">       /smarty</FONT>
<FONT COLOR="#000000">         /cache</FONT>
<FONT COLOR="#000000">         /configs</FONT>
<FONT COLOR="#000000">         /templates_c</FONT>



<FONT COLOR="#000000">Okay, I'd like to talk about some of them ... let#s start step by step:</FONT>

<FONT COLOR="#000000">/</FONT>
<FONT COLOR="#000000">   /sql</FONT>
<FONT COLOR="#000000">   /wifidog</FONT>
<FONT COLOR="#000000">     /admin</FONT>

<FONT COLOR="#000000">- - good so far ;)</FONT>

<FONT COLOR="#000000">       /templates</FONT>

<FONT COLOR="#000000">- - I'd like to move that directory to the /wifidog/templates directory  </FONT>
<FONT COLOR="#000000">- - it just belongs there</FONT>
<FONT COLOR="#000000">- - could be named /wifidog/templates/admin</FONT>

<FONT COLOR="#000000">     /auth</FONT>
<FONT COLOR="#000000">     /classes</FONT>
<FONT COLOR="#000000">       /Content</FONT>
<FONT COLOR="#000000">         /Avatar</FONT>
<FONT COLOR="#000000">         /ContentGroup</FONT>
<FONT COLOR="#000000">         /EmbeddedContent</FONT>
<FONT COLOR="#000000">         /File</FONT>
<FONT COLOR="#000000">         /FlickrPhotostream</FONT>
<FONT COLOR="#000000">         /HTMLeditor</FONT>
<FONT COLOR="#000000">         /IFrame</FONT>
<FONT COLOR="#000000">         /IFrameRest</FONT>
<FONT COLOR="#000000">         /Langstring</FONT>
<FONT COLOR="#000000">         /PatternLanguage</FONT>
<FONT COLOR="#000000">         /Picture</FONT>
<FONT COLOR="#000000">         /RssAggregator</FONT>
<FONT COLOR="#000000">         /SimpleIFrame</FONT>
<FONT COLOR="#000000">         /TrivialLangstring</FONT>
<FONT COLOR="#000000">       /Geocoders</FONT>
<FONT COLOR="#000000">       /StatisticGraph</FONT>
<FONT COLOR="#000000">       /Report</FONT>

<FONT COLOR="#000000">- - good</FONT>

<FONT COLOR="#000000">     /content</FONT>
<FONT COLOR="#000000">       /PatternLanguage</FONT>

<FONT COLOR="#000000">- - what are we doing in those directories exactly?</FONT>

<FONT COLOR="#000000">     /cron</FONT>
<FONT COLOR="#000000">     /images</FONT>
<FONT COLOR="#000000">       /PatternLanguage</FONT>

<FONT COLOR="#000000">- - good, even though we should think about giving the files in the / </FONT>
<FONT COLOR="#000000">wifidog/images directory meaningful names</FONT>

<FONT COLOR="#000000">     /include</FONT>
<FONT COLOR="#000000">       /HTMLeditor</FONT>
<FONT COLOR="#000000">         /images</FONT>
<FONT COLOR="#000000">         /toolbar</FONT>
<FONT COLOR="#000000">     /js</FONT>

<FONT COLOR="#000000">- -good</FONT>

<FONT COLOR="#000000">     /lib</FONT>
<FONT COLOR="#000000">       /FCKeditor</FONT>
<FONT COLOR="#000000">       /magpie</FONT>
<FONT COLOR="#000000">       /RssPressReview</FONT>
<FONT COLOR="#000000">       /smarty</FONT>

<FONT COLOR="#000000">- - I think we should be moving those files to /lib - not /wifidog/lib  </FONT>
<FONT COLOR="#000000">as we have them right now</FONT>

<FONT COLOR="#000000">     /local_content</FONT>
<FONT COLOR="#000000">       /common</FONT>
<FONT COLOR="#000000">       /default</FONT>

<FONT COLOR="#000000">- - again, how do we use those directories/files exactly?</FONT>
<FONT COLOR="#000000">- - aren't there many obsolete files (besides CSS style-sheets)?</FONT>
<FONT COLOR="#000000">- - can we get rid of those directories?</FONT>

<FONT COLOR="#000000">     /locale</FONT>
<FONT COLOR="#000000">       /fr</FONT>
<FONT COLOR="#000000">       /de</FONT>

<FONT COLOR="#000000">- - those directories should also be moved directly to /locale</FONT>

<FONT COLOR="#000000">     /login</FONT>
<FONT COLOR="#000000">     /ping</FONT>
<FONT COLOR="#000000">     /portal</FONT>

<FONT COLOR="#000000">- - good</FONT>

<FONT COLOR="#000000">     /templates</FONT>
<FONT COLOR="#000000">       /HTMLeditor</FONT>
<FONT COLOR="#000000">     /tmp</FONT>
<FONT COLOR="#000000">       /cache</FONT>
<FONT COLOR="#000000">       /magpie_cache</FONT>
<FONT COLOR="#000000">       /smarty</FONT>
<FONT COLOR="#000000">         /cache</FONT>
<FONT COLOR="#000000">         /configs</FONT>
<FONT COLOR="#000000">         /templates_c</FONT>

<FONT COLOR="#000000">- - again - those directories should be moved to /templates directly -  </FONT>
<FONT COLOR="#000000">they don't need to be world readable</FONT>



<FONT COLOR="#000000">Thanks for your time of reading - I'm looking happily forward for  </FONT>
<FONT COLOR="#000000">your mails ;) ...</FONT>

<FONT COLOR="#000000">Cheers, Max!</FONT>

<FONT COLOR="#000000">-----BEGIN PGP SIGNATURE-----</FONT>
<FONT COLOR="#000000">Version: GnuPG v1.4.1 (Darwin)</FONT>

<FONT COLOR="#000000">iD8DBQFD3WH4+BKgC+eQ3ooRAlT7AKCncenXr1IieRUVQnSoUl4agSWO8wCfVe9I</FONT>
<FONT COLOR="#000000">AIffRpYzMaFMUPCTcfR/GuE=</FONT>
<FONT COLOR="#000000">=PV9d</FONT>
<FONT COLOR="#000000">-----END PGP SIGNATURE-----</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">WiFiDog mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>