<?
//////////////////////////////////////////////////////
//
// MultiFiS (Multimedia Files Scanner) by aaff
//
// Official Site: http://multifis.sourceforge.net
//
//////////////////////////////////////////////////////
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
//////////////////////////////////////////////////////
////////////////////
// Loading Gtk Class
////////////////////
if (!class_exists('gtk')) {
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
dl('php_gtk.dll');
} else {
dl('php_gtk.so');
}
}
////////////////////
// Setting paths and including functions
////////////////////
$basepath = dirname(__FILE__);
$scan_function_path = $basepath."/scan_function.php"; // Please, set your path to scan_function.php
$getid3_path = $basepath."/getid3/getid3.php"; // Please, set your path to getid3.php
$filedialog_path = $basepath."/filedialog.php";
$drvscan_path = $basepath."/drvscan.php";
include($scan_function_path);
require_once($filedialog_path);
require_once($getid3_path);
require_once("drvscan.php");
$drv = &new DrvScan();
?>