Development

Changeset 18711

You must first sign up to be able to contribute.

Changeset 18711

Show
Ignore:
Timestamp:
05/27/09 21:01:34 (5 years ago)
Author:
heristop
Message:

sfXssSafePlugin includes autoload if bootstraps is not already loaded (sf 1.0)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfXssSafePlugin/trunk/lib/helper/XssSafeHelper.php

    r18701 r18711  
    1212 
    1313define('HTMLPURIFIER_PREFIX', realpath(dirname(__FILE__) . '/../vendor/htmlpurifier')); 
     14 
     15if (!class_exists('HTMLPurifier_Config')) 
     16{ 
     17  require_once(realpath(dirname(__FILE__) . '/../vendor/htmlpurifier/HTMLPurifier.auto.php')); 
     18} 
    1419 
    1520/**