You are here

function _syntaxhighlighter_file_directory_path in Syntax Highlighter 7

Same name and namespace in other branches
  1. 7.2 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

2 calls to _syntaxhighlighter_file_directory_path()
syntaxhighlighter_init in ./syntaxhighlighter.module
_syntaxhighlighter_scan_lib_location in ./syntaxhighlighter.module
Do an exhaustive scan of file directories for the location of the syntaxhighlighter js lib, Allow the syntaxhighlighter js library to be installed in any of the following locations and under any sub-directory (except 'src'): 1)…

File

./syntaxhighlighter.module, line 436
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');
}