Exemple #1
0
function realpath_exists($path, $safe = true)
{
    if ($safe) {
        return Watchdog::kurogoPath($path);
    } else {
        return realpath($path) && file_exists($path);
    }
}
Exemple #2
0
/**
 * Simulate PHP 5.3 behavior on 5.2
 */
function realpath_exists($path)
{
    return Watchdog::kurogoPath($path);
}