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!

CPanel refreshing boa.pm

Discussion in 'General Discussion' started by msutton, Sep 17, 2002.

  1. msutton

    msutton Registered

    Joined:
    Sep 13, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    We have a customer that is using Interchange 4.8.6. My customer was informed that there was a bug in the boa.pm. The consultant fixed the bug and sent it to my customer. The basic changes to the boa.pm file are as follows:

    452,453d454
    & #::logDebug(&BoA post_data response: & . ::uneval($thing) ); & 455d455
    & my $sep = &&BR&&;
    457c457,462
    & $page =~ s/\r*&html&.*$//is;
    ---
    & if ($opt-&{script} =~ /payment/) {
    & $page =~ s#^.*?A HREF=.+\?m=$user&##si;
    & $page =~ s#&.*$##s;
    & } else {
    & $page =~ s/\cM{2}.*$//s;
    & }
    459c464
    & foreach ( split( /$sep/i, $page) ) {
    ---
    & foreach ( split( /\cM|&/, $page) ) {
    466d470

    During cpanel's nightly refresh, it replace the modified boa.pm file. Is there anything that I can do to prevent the modified file from replacing the customize file?
     
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    316
    chattr +i boa.pm

    Should do it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. msutton

    msutton Registered

    Joined:
    Sep 13, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
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