You are here

function _syntaxhighlighter_file_directory_path in Syntax Highlighter 7.2

Same name and namespace in other branches
  1. 7 syntaxhighlighter.module \_syntaxhighlighter_file_directory_path()

This does the same thing as the old D6 file_directory_path() which is to give the default 'files' directory path relative the the web root

Return value

a string containing the path to the site's 'files' directory

1 call to _syntaxhighlighter_file_directory_path()
syntaxhighlighter_init in ./syntaxhighlighter.module

File

./syntaxhighlighter.module, line 455
Syntax highlight code using the Syntaxhighlighter javascript library. See http://alexgorbatchev.com/wiki/SyntaxHighlighter

Code

function _syntaxhighlighter_file_directory_path() {
  return variable_get('file_public_path', conf_path() . '/files');
}