From: <dam...@us...> - 2004-10-16 10:11:49
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26600 Modified Files: Tag: BRANCH-1-9 tiki-jukebox_tracks.php Log Message: check for dir like we have on maps Index: tiki-jukebox_tracks.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/Attic/tiki-jukebox_tracks.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- tiki-jukebox_tracks.php 16 Oct 2004 10:02:49 -0000 1.1.2.1 +++ tiki-jukebox_tracks.php 16 Oct 2004 10:11:35 -0000 1.1.2.2 @@ -21,6 +21,12 @@ die; } +if (!is_dir($feature_jukebox_files)) { + $smarty->assign('msg', tra("Please create a directory named $feature_jukebox_files to hold your audio files.")); + $smarty->display('error.tpl'); + die; +} + if(!isset($_REQUEST["trackId"])) { $_REQUEST["trackId"]=0; } |