The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End 3rd party libraries with custome autoloader

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #205840

    I have an autoloader that loads my classes in an ‘includes/Classes’ directory. Made my life a whole lot easier!

    I want to use the PHPWord library. Now everytime I try to load PHPWord it still thinks to look for it in the ‘Classes’ folder.

    PHPWord has it’s own autoloader which I call as such:

    However the only way I’ve gotten things to load correctly is to call that autoloader before I call my own.

    I have a feeling that I’m not loading things in the best manner. I’m not using an MVC framework, or any framework, to create my site. It’s all fairly simple and custom. How do you guys do this autoloading business?

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.