/Server/PrjInfo/DirMetadata.php |
---|
46,11 → 46,11 |
// Vyhoď komentáře (po řádcích) |
foreach($File as $Key => $Line) |
if (substr(ltrim($Line), 0, 2) == '//') |
if (str_starts_with(ltrim($Line), '//')) |
unset($File[$Key]); |
// Sestav z pole jeden retězec |
$File = implode($File); |
$File = implode('', $File); |
// Vyhledej v souboru informace |
$PatternKey = '\[(?P<Key>[a-z,A-Z,0-9,\-\_\.]+)\]'; |