Results 1 to 2 of 2

Thread: $hookdir

  1. #1
    Join Date
    Nov 2008
    Location
    NJ
    Posts
    8

    Default $hookdir

    I am having problems getting it to use my full path to the HookDir.

    I have done a

    <?php
    echo getcwd();
    ?>

    from a php file in the directory I want to use for the HooDir files (and templates, It shows the full path, but if it use it in the $HOOK dir it does not seem to be used.

    I am trying to have a php file in that directory called after the form has been processed to insert the data collected into a database. In debugging it, I find that If I user the $TemplateDir in place of the $Template URL it also fails. This lead me to be fairly sure that the path is not correct (and I get an error saying it could not find the templates.

    Is there a better way to find the full path? is there no $HOOKURL that can be used in place of the $HOODir ?

  2. #2
    Join Date
    May 2008
    Posts
    1,291

    Default Re: $hookdir

    Hi,

    No $HOOKURL. See my post in your other thread.

    ginger

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •