|
@@ -26,12 +26,12 @@ $Feed = new FEED;
|
26
|
26
|
|
27
|
27
|
define('QUERY_EXCEPTION', true); // Shut up debugging
|
28
|
28
|
|
29
|
|
-//******************************************************************************//
|
30
|
|
-//--------------- Set $Properties array ----------------------------------------//
|
31
|
|
-// This is used if the form doesn't validate, and when the time comes to enter //
|
32
|
|
-// it into the database. //
|
33
|
|
-// Haha wow god i'm trying to restrict the database to only have fields for //
|
34
|
|
-// movies and not add anything for other categories but this is fucking dumb //
|
|
29
|
+//*****************************************************************************//
|
|
30
|
+//--------------- Set $Properties array ---------------------------------------//
|
|
31
|
+// This is used if the form doesn't validate, and when the time comes to enter //
|
|
32
|
+// it into the database. //
|
|
33
|
+// Haha wow god i'm trying to restrict the database to only have fields for //
|
|
34
|
+// movies and not add anything for other categories but this is fucking dumb //
|
35
|
35
|
|
36
|
36
|
$Properties = array();
|
37
|
37
|
$Type = $Categories[(int)$_POST['type']];
|
|
@@ -254,6 +254,7 @@ $T['Censored'] = $Properties['Censored'];
|
254
|
254
|
|
255
|
255
|
$Tor = new BencodeTorrent($TorrentName, true);
|
256
|
256
|
$PublicTorrent = $Tor->make_private(); // The torrent is now private.
|
|
257
|
+$UnsourcedTorrent = $Tor->make_sourced(); // The torrent now has the source field set.
|
257
|
258
|
$TorEnc = $Tor->encode();
|
258
|
259
|
$InfoHash = pack('H*', $Tor->info_hash());
|
259
|
260
|
|