From 17dc93eab267a25e0620576f1ce62bf8ffc417ab Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Feb 2014 16:29:15 +0100 Subject: . --- blob/insertfile.php | 4 ++++ www/youtube.php | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/blob/insertfile.php b/blob/insertfile.php index 8053eb5..390f4d7 100644 --- a/blob/insertfile.php +++ b/blob/insertfile.php @@ -3,9 +3,13 @@ $dic = "../blob/en_GB.dic"; $table = "english"; +//$dic = "../blob/wordlist_german.txt"; +//$table = "german"; + $bool = false; $db = new SQLite3("../database/dict.db"); +//$db = new SQLite3("dict.db"); if($file = file($dic)){ diff --git a/www/youtube.php b/www/youtube.php index 0843299..a035fe0 100644 --- a/www/youtube.php +++ b/www/youtube.php @@ -1,11 +1,9 @@ setMajorProtocolVersion(2); $videoFeed = $yt->getVideoFeed($location); printVideoFeed($videoFeed); @@ -79,7 +77,8 @@ function get_video(){ return $string; } -getAndPrintVideoFeed($location = Zend_Gdata_YouTube::VIDEO_URI, $yt); +$location = Zend_Gdata_YouTube::VIDEO_URI; +getAndPrintVideoFeed($location, $yt); $searchstring = get_video(); -- cgit v1.2.3