The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    711
    Likes Received:
    3
    Trophy Points:
    18
    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