While those are hard coded there is nothing preventing the use of other
directories under the HTML root. The advantage of the hardcoded directories
is their files will report properly in terms of mime types regardless of
extension.

David Botton
On Mon, Mar 13, 2017 at 1:33 AM Gautier de Montmollin <gdem...@hotmail.com>
wrote:

> Hello,
>
> It seems indeed hardcoded: I've searched "/js" with GPS and found it
> hardcoded in a few plugins, then, in Gnoga.Server.Connection:
>
>        if Verbose then
>           Write_To_Console ("Gnoga            :" & Gnoga.Version);
>           Write_To_Console ("Application root :" & Application_Directory);
>           Write_To_Console ("Executable at    :" & Executable_Directory);
>           Write_To_Console ("HTML root        :" & HTML_Directory);
>           Write_To_Console ("Upload directory :" & Upload_Directory);
>           Write_To_Console ("Templates root   :" & Templates_Directory);
>           Write_To_Console ("/js  at          :" & JS_Directory);
>           Write_To_Console ("/css at          :" & CSS_Directory);
>           Write_To_Console ("/img at          :" & IMG_Directory);
> (...)
>
> which refers to
>
>     function JS_Directory return String is
>     begin
>        return Find_Subdirectory ("js");
>     end JS_Directory;
>
> Is it an issue ?
>
>
> ------------------------------------------------------------------------------
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford
> _______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to