Facebook killed the radio star. And by radio star, I mean the premise of distributed forums around the internet. And that got got by Instagram/SnapChat. And that got got by TikTok. Where the fuck is the internet we once knew?
0 Members and 1 Guest are viewing this topic.
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min[20:21:15] xar: that was funny
Well I need to redo some thinking which I've since done on modules. I can get it done it's just that it's time consuming how I designed it. I need to make a lot of things easier. I also forgot a lot of what I was thinking while writing code so I'll need to reread some code.
function HandlePluginPage() { if (!isset($_GET['plugin'])) return -1; else $plugin = $_GET['plugin']; $query = $this->DB->PerformQuery("SELECT ID FROM Plugins WHERE Name='" . $plugin . "' LIMIT 1"); if ($this->DB->CountResults($query) == 0) { if (!is_file(SCRIPT_ROOT . '/plugins/' . $plugin . '.plugin.php')) return -1; $query = $this->DB->PerformQuery("INSERT INTO Plugins SET Name='" . $plugin . "'"); if (!$query) return -1; } include_once SCRIPT_ROOT. '/plugins/' . $plugin . '.plugin.php'; if (!function_exists($plugin . '_main')) return -1; if (function_num_args($plugin . '_main')) != 2) return -1; $function = $plugin . '_main'; $arg = $_GET; $ret = $function($arg, &$this); if ($ret != 0) echo "Unexpected behavior."; else echo "Plugin terminated successfully."; }