}, $text); return $rtext; } /** * @param $text * * @return mixed */ function markdown_text($text) { global $f3; $node = $f3->get('firtz'); return $node->markdown->text($text); } // ----------------------------- set podcast $firtz = new node($f3); $firtz->loadAllTheExtensions($f3); $f3->set('firtz', $firtz); $podcasts = array(); foreach (glob($f3->get('PODCASTDIR') . '/*', GLOB_ONLYDIR) as $dir) { if (substr(basename($dir), 0, 1) != "_") { $podcasts[] = basename($dir); } } $f3->set('podcasts', $podcasts); // ----------------------------- login function login($array) { $user_password = $array; return $user_password; }