Ejemplo n.º 1
0
 /**
  * Configure a geshi Instance the way we want it.
  * app/config/geshi.php
  *
  * @param Geshi $geshi
  * @return void
  */
 protected function _configureInstance($geshi)
 {
     $geshi->set_header_type(GESHI_HEADER_NONE);
     $geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 2);
     $geshi->enable_classes();
     $geshi->set_tab_width(4);
 }