ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Hooks Directory

August 24, 2012 2:45pm

Subscribe [2]
  • #1 / Aug 24, 2012 2:45pm

    Joe Michaud

    154 posts

    Hi Everyone,

    What is the /system/expressionengine/hooks/ directory all about?  I have been asked to evaluate a site where the previous developers put some php files in there.

    Is there something special about it?  Is it intended for some specific purpose?  I can’t figure out why they put files there instead of in the third_party directory and have not found any documentation on the topic.

    Thanks for your insight!

  • #2 / Aug 27, 2012 10:06am

    Kyle Cotter

    730 posts

    Hi Joe,

    The hooks folder is in reference to CodeIgniter. If there are files in there, they may be doing some customizations to achieve certain functionality.

    The hooks page in the CodeIgniter documentation explains this more. On a fresh install of ExpressionEngine, this hooks folder is empty, but if there are files in their now, it appears some customizations have been made.

    Does that make sense?

    Thanks!

  • #3 / Aug 27, 2012 10:24am

    Joe Michaud

    154 posts

    Thanks Kyle!

    That makes perfect sense and is exactly what I needed to know.

  • #4 / Aug 27, 2012 11:19am

    Kyle Cotter

    730 posts

    Glad I could help, Joe!

    If you have any more questions, feel free to start a new thread.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases