[ewiki] suggestion for plugin/spages.php

Hello!

I have a small suggestion for a little change making the config of the 
spages-plugin (including static-pages) more universal:

- introduce the variable EWIKI_SPAGES_DIR

- add it in plugin/spages.php here:

#-- specify which dirs to grasp for page files
ewiki_init_spages(array(
  EWIKI_SPAGES_DIR,
  #"./html",
  #"/usr/local/share/wikipages", 
  # "C:/Documents/StaticPages/"
));

- and define your individual static-html-directory in ewiki.php or your 
config-file:

    # plugin/spages.php
    define("EWIKI_SPAGES_DIR", "html");

Sofar somuch, solong

Timm




Other related posts: