/** * Returns the path name for the var directory * * The var directory may be placed outside the webroot. In this case * the var directory path should be placed in a file ./var/.key.php like: * * $protectedVarPath='/path/to/where/you/need/the/var/dir'; * * obviously the .key.php file must be a valid php file. * * @return string the var directory path name * @todo the .key.php construct seems odd **/ public static function varpath() { if (isset(self::$var)) { return self::$var; } self::$var = './var'; return self::$var; }