Location: PHPKode > projects > Thin PHP Framework > ngduc-Thin-PHP-Framework-d63ea45/conf/ext_mapping.php
<?php
/**
 * Thin PHP Framework (TPF) 2011-2012 http://thinphp.com
 * @package       app.conf
 * @license       TPF License http://bit.ly/TPFLicense
 */

	// URI Mapping for Extensions:
	//		uri => path to Extension, ClassName

	$ext_mapping = array(
		//--- Authentication extension
			'/sign-in' => array('ext/authentication', 'SignIn'),
			'/sign-out' => array('ext/authentication', 'SignOut'),
		
		//--- Add-to-any
			'/add-to-any' => array('ext/addtoany', 'AddToAny'),

		//--- Blog
			'/blog' => array('ext/blog', 'Blog'),
			'/blog-admin' => array('ext/blog', 'Blog', array('admin')),
			'/blog-comment' => array('ext/blog', 'BlogComment'),
						
		//--- Editor
			'/page-editor' => array('ext/editor', 'Editor'),

		//--- MathCaptcha extension
			'/mathcaptcha' => array('ext/mathcaptcha', 'MathCaptcha'),
				
		//--- ReCaptcha extension
			'/recaptcha' => array('ext/recaptcha', 'ReCaptcha'),
				
		// --- Twitter
			'/twitter' => array('ext/twitter', 'Twitter'),
				
		//--- TPF Documentation
			'/docs' => array('ext/thinphpdoc', 'TPFDoc')		
		//--- other extensions...
	);
Return current item: Thin PHP Framework