You are here

function _boost_variable_get in Boost 6

Internal variable get; don't rely on cache table.

Parameters

$name: variable name

1 call to _boost_variable_get()
boost_crawler_run in ./boost.module
The brains of the crawler.

File

./boost.module, line 5371
Provides static file caching for Drupal text output. Pages, Feeds, ect...

Code

function _boost_variable_get($name) {
  $value = unserialize(db_result(db_query("SELECT value FROM {variable} WHERE name = '%s'", $name)));
  return isset($value) ? $value : FALSE;
}