Results 1 to 2 of 2

Thread: Include php file, access outside web root

  1. #1
    New user
    Join Date
    09-22-11.
    Posts
    26

    Default Include php file, access outside web root

    I want to include a file using {{file::....php}} but I get an error.

    The php file needs access outside web root:

    require 'vendor/autoload.php';
    use net\authorize\api\contract\v1 as AnetAPI;
    use net\authorize\api\controller as AnetController;

    Can this be done?
    Last edited by mhenke; 10/20/2018 at 09:03.

  2. #2
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    That should not be necessary. Those files should be autoloaded already.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •