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.

cpanel_theme, what file stores this setting?

Discussion in 'User Experience' started by grepwood, Jan 23, 2015.

  1. grepwood

    grepwood Registered

    Joined:
    Jan 23, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm writing a script that tweaks cPanel a little bit and my user says they'd be over the moon if it'd also change the default login and cpanel themes. The default login theme I found, it's in /var/cpanel/cpanel.config. But where is the other variable stored? I grepped my entire filesystem tree and I only found it referrenced in a few perl files. No configs. And yes I searched the forum, no result :(
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can modify the default theme for new accounts with the "CPMOD=" value in the package file within the /var/cpanel/packages directory. EX:

    Code:
    CPMOD=x3
    Thank you.
     
Loading...

Share This Page