Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Commit

Permalink
The Ant framework, used by the installer, has been renamed to Nanite.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirix committed Sep 9, 2012
1 parent e1a2870 commit e4d4e14
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@ Licenses

* Traq is released under the GNU GPL license, _version 3 only_.
* Avalon is released under the GNU Lesser GPL license, _version 3 only_.
* Ant is released under the GNU Lesser GPL license, _version 3 only_.
* Nanite is released under the GNU Lesser GPL license, _version 3 only_.

### Terminated Licenses ###

* **devxdev / Devon Hazelett**:
Files, classes and functions were taken and completely stripped of copyright, warranty and code comments then used in the "Soule Framework", licenses _permanently_ terminated.

Contributors
------------

A list of people who contribute or have contributed to Traq can be found on [Github](https://github.com/nirix/traq/graphs/contributors).

Credits
-------

Expand Down
2 changes: 1 addition & 1 deletion install/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
Autoloader::register_namespace('avalon', SYSPATH);
Autoloader::register();

require 'ant.php';
require 'nanite.php';
require SYSPATH . '/libs/fishhook.php';
require '../system/models/user.php';
require 'common.php';
Expand Down
12 changes: 6 additions & 6 deletions install/ant.php → install/nanite.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,35 @@
*/

/**
* Shortcut to the Ant::get() method.
* Shortcut to the Nanite::get() method.
*
* @param string $route
* @param function $function
*/
function get($route, $function)
{
Ant::get($route, $function);
Nanite::get($route, $function);
}

/**
* Shortcut to the Ant::post() method.
* Shortcut to the Nanite::post() method.
*
* @param string $route
* @param function $function
*/
function post($route, $function)
{
Ant::post($route, $function);
Nanite::post($route, $function);
}

/**
* Ant is a tiny PHP router.
* Nanite is a tiny PHP router.
*
* @copyright Copyright (c) 2012 Jack P.
* @license GNU Lesser General Public License
* @version 3.0
*/
class Ant
class Nanite
{
private static $request_uri;

Expand Down

0 comments on commit e4d4e14

Please sign in to comment.