This commit is contained in:
Shish
2010-02-02 00:29:38 +00:00
parent 6a75857b72
commit 05150706cc
2 changed files with 21 additions and 13 deletions

View File

@ -465,6 +465,10 @@ function format_text($string) {
return $tfe->formatted;
}
function warehouse_path($base, $hash) {
$ab = substr($hash, 0, 2);
return "$base/$ab/$hash";
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* Logging convenience *