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!

Limit cPanel operations to current domain

Discussion in 'General Discussion' started by widlak, Aug 14, 2014.

  1. widlak

    widlak Registered

    Joined:
    Aug 8, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi, bit of a php newb here :)

    I'm running a multi-site config and want to allow site admins to [only] be able to create email addresses at their current domain. How can I set the $email_domain variable to the current domain? Shouldn't it be something like
    $email_domain = $base_url; ??

    I'm quite sure I'm way off. Thanks for your help
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate further on how you are limiting the options available to certain users? For instance, are you using our API?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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