source: trunk/wtorrent/lib/inc/includes.inc.php @ 93

Revision 93, 1.3 KB checked in by royger, 2 years ago (diff)
  • Migrated database from sqlite 2 to sqlite 3.
  • From now on, you will need php to be compiled with PDO and sqlite to run wTorrent.
  • Applied patch from tn123 to migrate to PDO and use prepared statements (ticket #188).
  • Created new install script.
  • To apply this update you will need to run sqlite_migration.sh to migrate your old database to sqlite3. This script assumes you have your database in db/database.db, if that's not the case edit the script and change the path.
Line 
1<?php
2/*
3This file is part of wTorrent.
4
5wTorrent is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 3 of the License, or
8(at your option) any later version.
9
10wTorrent is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18Class done by David Marco Martinez
19*/
20
21require_once( 'lib/smarty/Smarty.class.php' );
22require_once( 'lib/cls/Web.cls.php');
23require_once( 'cls/rtorrent.cls.php' );
24require_once( 'cls/torrent.cls.php' );
25require_once( 'cls/multicall.cls.php' );
26//require_once( 'cls/install.cls.php' );
27require_once( 'lib/xmlrpc/xmlrpc.inc.php' );
28require_once( 'lib/inc/utils.inc.php' );
29require_once( 'lib/inc/string.inc.php' );
30require_once( 'lib/bdecode/class.bdecode.php' );
31require_once( 'lib/bdecode/bencode.php' );
32require_once( 'lib/simplepie/simplepie.inc.php' );
33require_once( 'lib/json/json.inc.php' );
34
35error_reporting( E_ALL ^ E_NOTICE);
36
37?>
Note: See TracBrowser for help on using the repository browser.