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.

whm addon modules written in php

Discussion in 'cPanel Developers' started by NightRider, Nov 6, 2008.

  1. NightRider

    NightRider Active Member

    Joined:
    Jan 23, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hello.

    I want to write addon modules for WHM in php. But I faced the problem: if you
    are logged in whm as root, php script placed at
    /usr/local/cpanel/whostmgr/docroot/3rdparty/custom/test.php
    executes ok, but if you are logged in as reseller, you see php script as a
    plain text.

    So, my question is: what should I do that this php script will execute on both
    root and reseller accounts?

    Thanks for answers.
     
Loading...

Share This Page