Created
June 3, 2014 10:43
-
-
Save BugBuster1701/0783fd45dc2c03f651b7 to your computer and use it in GitHub Desktop.
Pfad zu UUID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$path = 'tl_files/shoot/me.jpg'; | |
$file = \FilesModel::findOneByPath($path); | |
echo $file->uuid; // binär | |
echo \String::binToUuid($file->uuid); // menschenlesbar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment