Patch for ubuntu ispconfig monitor page

Discussion in 'Developers' Forum' started by MarciPain, Jun 28, 2012.

  1. MarciPain

    MarciPain Member

    This patch is modifiing the monitor interface on ispconfig!
    Seems like this:
    image.jpg
    file:
    View attachment monitor_tools.inc.php.txt

    Usage: cd /usr/local/ispconfig/server/lib/classes
    patch <monitor_tools.inc.php.patch
     
    Last edited: Jun 29, 2012
  2. falko

    falko Super Moderator Howtoforge Staff

    The link doesn't work. What exactly did you change?
     
  3. MarciPain

    MarciPain Member

    Link updated
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What does your patch do?
     
  5. MarciPain

    MarciPain Member

    Changes the os detection, for ubuntu versions.
     
  6. cfoe

    cfoe Member

    @ Till/Falko: Commit 3233 - please check the code I inserted with MarciPain's patch

    + Move to Dev forum
     
  7. cfoe

    cfoe Member

    Please give me short feedback if the code is ok.
    I would love to use the switch for CentOS 5+6
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The code looks fine, but it uses wrong line indention. ISPConfig uses tabs and the code is indented with spaces.
     
  9. cfoe

    cfoe Member

    Care to correct it?
    Would it be a problem for the install process?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    I will fix that.

    No.
     
  11. cfoe

    cfoe Member

    After your correction I will use that as a template for the CentOS extension :)
     

Share This Page