mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
fix typo & add doc blocks
This commit is contained in:
@@ -203,11 +203,12 @@ class Manager
|
|||||||
* Find an available Lazaret filename and creates the empty file.
|
* Find an available Lazaret filename and creates the empty file.
|
||||||
*
|
*
|
||||||
* @param string $filename The desired filename
|
* @param string $filename The desired filename
|
||||||
|
* @param string $suffix A suffix to the filename
|
||||||
* @return string The available filename to use
|
* @return string The available filename to use
|
||||||
*/
|
*/
|
||||||
protected function bookLazaretPathfile($filename, $suffix = '')
|
protected function bookLazaretPathfile($filename, $suffix = '')
|
||||||
{
|
{
|
||||||
$output = __DIR__ . '/../../../../tmp/lazaret/lzrt_' . substr($filename, 0, 3) . '_' . $suffix . '.' .pathinfo($filename, PATHINFO_EXTENSION);
|
$output = __DIR__ . '/../../../../tmp/lazaret/lzrt_' . substr($filename, 0, 3) . '_' . $suffix . '.' . pathinfo($filename, PATHINFO_EXTENSION);
|
||||||
$infos = pathinfo($output);
|
$infos = pathinfo($output);
|
||||||
$n = 0;
|
$n = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
@@ -387,6 +387,4 @@ class LazaretFile
|
|||||||
{
|
{
|
||||||
$this->thumbPathname = $thumbPathname;
|
$this->thumbPathname = $thumbPathname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -104,7 +104,6 @@ class patch_370a7 implements patchInterface
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$media = $Core['mediavorus']->guess(new \SplFileInfo($filePath));
|
$media = $Core['mediavorus']->guess(new \SplFileInfo($filePath));
|
||||||
|
|
||||||
$collection = \collection::get_from_base_id($row['base_id']);
|
$collection = \collection::get_from_base_id($row['base_id']);
|
||||||
|
Reference in New Issue
Block a user