You are here

function _geshifilter_language_css_path in GeSHi Filter for syntax highlighting 7

3 calls to _geshifilter_language_css_path()
geshifilter_init in ./geshifilter.module
Implements hook_init().
_geshifilter_generate_languages_css_file in ./geshifilter.admin.inc
Function for generating the external stylesheet.
_geshifilter_managed_external_stylesheet_possible in ./geshifilter.module
Helper function for checking if an automatically managed style sheet is possible.

File

./geshifilter.module, line 325
An input filter for syntax highlighting using the GeSHi library.

Code

function _geshifilter_language_css_path($dironly = FALSE) {
  $directory = file_default_scheme() . '://geshi';
  return $dironly ? $directory : $directory . '/geshifilter-languages.css';
}