<?php 
//use this with the 1.1 core
//vendor('htmlpurifier'.DS.'library'.DS.'HTMLPurifier.auto'); 

//use this with the 1.2 core
App::import('Vendor','Arabic' ,array('file'=>'arabic'.DS.'Arabic.php')); 

class ArabicComponent extends Object {

    var $controller;

    function startup( &$controller ) {

        //ArabicComponent instance of controller is replaced by a Arabic instance
        $controller->arabic =& new I18N_Arabic(null);
        $controller->set('arabic',$controller->arabic);

   }
   
}
?>