Can I comment out this line in class_xml.php?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bigforumfan
    Senior Member
    • Aug 2001
    • 166

    Can I comment out this line in class_xml.php?

    Can I comment out this line in class_xml.php?

    I recently had some server security services performed on my server. They installed Suhosin.

    I'm getting this alert when the Vbulletin file, "class_xml.php" tries to increase memory limit:

    Code:
    "ALERT - script tried to increase memory_limit to 134217728 bytes which is above the allowed value (attacker '00.00.162.000', file '/home/myhostname/public_html/includes/class_xml.php', line 37)


    Here is the code from my class_xml.php file on line 37:

    Code:
    @ini_set('memory_limit', 128 * 1024 * 1024);


    Can I comment out this line? What will the effects be?

    Thanks for any assistance.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    That code is harmless. There is no need to comment it out. That's a false positive by your security program.

    Comment

    • Floris
      Senior Member
      • Dec 2001
      • 37767

      #3
      To get vB support on these forums you first need to be a licensed customer and register for Priority Forum Support. To do this, please go here:

      http://members.vbulletin.com/membersupport_priority.php

      ...and enter your email address in one of the boxes. You'll need to have your customer number and password to access the page.

      Once you've done this, please post in the appropriate support forum for your version.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...