All pastes #293106 Raw Edit

Miscellany

public text v1 · immutable
#293106 ·published 2006-12-27 05:32 UTC
rendered paste body
grep -ri "compile_dir" -H *
internals/core.write_compiled_resource.php:    if(!@is_writable($smarty->compile_dir)) {
internals/core.write_compiled_resource.php:        // compile_dir not writable, see if it exists
internals/core.write_compiled_resource.php:        if(!@is_dir($smarty->compile_dir)) {
internals/core.write_compiled_resource.php:            $smarty->trigger_error('the $compile_dir \'' . $smarty->compile_dir . '\' does not exist, or is not a directory.', E_USER_ERROR);
internals/core.write_compiled_resource.php:        $smarty->trigger_error('unable to write to $compile_dir \'' . realpath($smarty->compile_dir) . '\'. Be sure $compile_dir is writable by the web server user.', E_USER_ERROR);
Smarty.class.php:    var $compile_dir     =  'templates_c';
Smarty.class.php:        $_params = array('auto_base' => $this->compile_dir,
Smarty.class.php:        $smarty_compiler->compile_dir       = $this->compile_dir;
Smarty.class.php:        return $this->_get_auto_filename($this->compile_dir, $resource_name,
Smarty.class.php:        $_compile_dir_sep =  $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '^';
Smarty.class.php:            $auto_id = str_replace('%7C',$_compile_dir_sep,(urlencode($auto_id)));
Smarty.class.php:            $_return .= $auto_id . $_compile_dir_sep;
Smarty.class.php:            $_crc32 = substr($_crc32, 0, 2) . $_compile_dir_sep .
Smarty.class.php:                      substr($_crc32, 0, 3) . $_compile_dir_sep . $_crc32;
 Smarty]# cd in
index.html  internals/
# pwd
/home/httpd/vhosts/globalbusinesscafe.com/httpdocs/includes/classes/Smarty