Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to make "Installation URL" OPTIONAL for a cPAddon?

Discussion in 'cPanel Developers' started by gigapros, Dec 8, 2008.

  1. gigapros

    gigapros Member

    Joined:
    Mar 10, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    I am developing a new custom cPAddon. How to make the field "Installation URL" an OPTIONAL one? What command shoudl I use in my .pm file to do so?

    This will be useful if the auto-installation is DIRECTLY going to be in /public_html folder (instead of a sub-folder). Please advice.

    Thanks for your help.
     
  2. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    715
    Likes Received:
    5
    Trophy Points:
    243
    Direct docroot installations are faciliated by the per-version-manifect data outlined here:

    How to do include said data is outlined:

    at http://www.cpanel.net/docs/cpaddons/

    Click on "$meta_info Hash Reference Table"

    Read the section with the title
    "Hash Keys relating to versioning and upgrades"
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice