Custom File Includes

From nuBuilderForte
Revision as of 09:54, 29 January 2022 by Kev1n (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Forum Post
  • If myphpfile.php is in nuBuilder's root directory, include it like this:
    include_once(__DIR__ . "/../myphpfile.php");

Or include php files in nuconfig.php:

($nuConfigIncludePHP = '..\myphpfile.php';)