diff options
Diffstat (limited to '')
-rw-r--r-- | php/phpgats.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/php/phpgats.php b/php/phpgats.php index 68ab82b..d9108da 100644 --- a/php/phpgats.php +++ b/php/phpgats.php | |||
@@ -1,5 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | if( !defined("phpgats_defined") ) | ||
4 | { | ||
5 | define("phpgats_defined",1); | ||
6 | |||
3 | /** @mainpage phpgats.php PHP Gats Library | 7 | /** @mainpage phpgats.php PHP Gats Library |
4 | * @section Notes | 8 | * @section Notes |
5 | * | 9 | * |
@@ -749,6 +753,8 @@ function phpgats_parseGats( $str_data ) | |||
749 | return phpgats_pM( $str_data, $offset ); | 753 | return phpgats_pM( $str_data, $offset ); |
750 | } | 754 | } |
751 | 755 | ||
756 | } //defined("phpgats_defined"); | ||
757 | |||
752 | /** | 758 | /** |
753 | * Call this function to generate a binary gats stream from the given phpgats_Element object | 759 | * Call this function to generate a binary gats stream from the given phpgats_Element object |
754 | * @param $elem (phpgats_Element) the gats element object from which to generate a binary blob | 760 | * @param $elem (phpgats_Element) the gats element object from which to generate a binary blob |