title: DOMPDF + Codeigniter, library upgraded, but now not working
body: <p>I have been using the old version of dom pdf in codeigniter for pdf generation and recently I changed the core dompdf directory to newer version dompdf-0.5.2.zip. 
  Below is the code that I've been using to connect to dompdf class:</p>
  
  <pre><code>class Pdf{
  
  var $_dompdf = NULL;
  
  /**
   * Constructor Method
  **/
  function __construct(){
      ini_set("memory_limit", "1G");
      require_once("Dompdf/dompdf_config.inc.php");
      if(is_null($this-&gt;_dompdf)){
          $this-&gt;_dompdf = new DOMPDF();
      }
  }
  
  /**
   * HTML to PDF Conversion method
  **/
  function convert_html_to_pdf($_html, $_filename = '', $_stream = false, $_orientation = "portrait"){
      $this-&gt;_dompdf-&gt;set_paper("a4", $_orientation);
      $this-&gt;_dompdf-&gt;load_html($_html);
      $this-&gt;_dompdf-&gt;render();
      if($_stream){
          $this-&gt;_dompdf-&gt;stream($_filename);
      } else{
          file_put_contents($_filename, $this-&gt;_dompdf-&gt;output()); 
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Now when I try to generate pdf, it gives me following error:
  Fatal error: Class 'DOMPDF' not found in D:\xampp\htdocs\app\application\libraries\Pdf.php on line 21</p>
  
  <p>any solution would be appreciated</p>
  
  <p>Thanx</p>