x00n Code
Status: Alpha
Brought to you by:
nonexistentera
File | Date | Author | Commit |
---|---|---|---|
OLD | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
Sources | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
captcha | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
css | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
images | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
install | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
js | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
lib | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
torrents | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
x00nSVN | 2009-07-05 | nonexistentera | [r43] |
.htaccess | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
CHANGELOG | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
COPYRIGHT | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
INSTALL.txt | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
README | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
Settings.php | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
Settings.php.default | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
announce.php | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
index.php | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
install.sql | 2009-07-05 | nonexistentera | [r44] .5 BETA UPLOAD |
/** * x00n - PHP/MySQL BitTorrent Tracking System * * * For changes, release notes, TODOs etc, see the relevant files in the root directory * * This file is part of x00n. * * x00n 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, or * (at your option) any later version. * * x00n is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with x00n; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @package core * @author NeXEA<nonexistentera12@gmail.com> * @copyright Copyright © 2008, 2009, x00n Dev Community * @license http://gnu.org/copyleft/gpl.html GNU GPL * @version .5 BETA Release * x00n is completly run from index.php. For security nothing should be executed without first getting authorized by being run through index.php. Everything is based on the the x00nLoad() function and is formatted like so: 'action-in-url' => array('Source-File.php', 'FunctionToCall'), Then, you can access the FunctionToCall() function from Source-File.php with the URL index.php?action=action-in-url. Relatively simple, no?(SMF) So if you wish to add for example a 'Quote Of The Day Section' and have it run with the theme, just create a file called 'yourname.php' and in there past function quoteOfTheDay($yourVars){ } and add a section into the index.php within the actionArray like so 'qotd' => array('yourname.php', 'quoteOfTheDay'), and now you can call upon this by going to http://yourdomain.com/index.php?action=qotd Simple no? */