mirror of
https://github.com/GuduleLapointe/opensim-helpers.git
synced 2026-08-14 00:47:54 +00:00
* fix duplicate TPLINK* constant declarations
This commit is contained in:
+12
-10
@@ -517,16 +517,18 @@ function set_helpers_locale( $locale = null, $domain = 'messages' ) {
|
||||
textdomain( $domain );
|
||||
}
|
||||
|
||||
define( 'NULL_KEY', '00000000-0000-0000-0000-000000000000' );
|
||||
define( 'TPLINK_LOCAL', 1 ); // seconlife://Region/x/y/z
|
||||
define( 'TPLINK_HG', 2 ); // seconlife://yourgrid.org:8002 Region/x/y/z
|
||||
define( 'TPLINK_V3HG', 4 ); // the overcomplicated stuff!
|
||||
define( 'TPLINK_HOP', 8 ); // hop://yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK_TXT', 16 ); // yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK_APPTP', 32 ); // secondlife:///app/teleport/yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK_MAP', 64 ); // secondlife:///app/map/yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK', pow( 2, 8 ) - 1 ); // all formats
|
||||
define( 'TPLINK_DEFAULT', TPLINK_HOP ); // default
|
||||
if( ! defined( 'NULL_KEY') ) define( 'NULL_KEY', '00000000-0000-0000-0000-000000000000' );
|
||||
if( ! defined( 'TPLINK_LOCAL') ) {
|
||||
define( 'TPLINK_LOCAL', 1 ); // seconlife://Region/x/y/z
|
||||
define( 'TPLINK_HG', 2 ); // seconlife://yourgrid.org:8002 Region/x/y/z
|
||||
define( 'TPLINK_V3HG', 4 ); // the overcomplicated stuff!
|
||||
define( 'TPLINK_HOP', 8 ); // hop://yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK_TXT', 16 ); // yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK_APPTP', 32 ); // secondlife:///app/teleport/yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK_MAP', 64 ); // secondlife:///app/map/yourgrid.org:8002:Region/x/y/z
|
||||
define( 'TPLINK', pow( 2, 8 ) - 1 ); // all formats
|
||||
define( 'TPLINK_DEFAULT', TPLINK_HOP ); // default
|
||||
}
|
||||
|
||||
define( 'HELPERS_LOCALE_DIR', dirname( __DIR__ ) . '/languages' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user