[Freeswitch-svn] [commit] r12078 - freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl

FreeSWITCH SVN intralanman at freeswitch.org
Mon Feb 16 17:21:10 PST 2009


Author: intralanman
Date: Mon Feb 16 19:21:10 2009
New Revision: 12078

Log:
adding license in some places, removing subpackage in others, etc, etc

Modified:
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_configuration.php
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_curl.php
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/index.php

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_configuration.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_configuration.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_configuration.php	Mon Feb 16 19:21:10 2009
@@ -1,7 +1,6 @@
 <?php
 /**
  * @package  FS_CURL
- * @subpackage FS_CURL_Configuration
  * fs_configuration.php
  */
 if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {
@@ -10,8 +9,7 @@
 
 /**
  * @package FS_CURL
- * @subpackage FS_CURL_Configuration
- * @license
+ * @license BSD
  * @author Raymond Chandler (intralanman) <intralanman at gmail.com>
  * @version 0.1
  * Class for all module configurations

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_curl.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_curl.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_curl.php	Mon Feb 16 19:21:10 2009
@@ -10,7 +10,7 @@
 
 /**
  * @package FS_CURL
- * @license
+ * @license BSD
  * @author Raymond Chandler (intralanman) <intralanman at gmail.com>
  * @version 0.1
  * FreeSWITCH CURL base class

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php	Mon Feb 16 19:21:10 2009
@@ -1,7 +1,6 @@
 <?php
 /**
  * @package  FS_CURL
- * @subpackage FS_CURL_Dialplan
  * @todo i should probably add a condition_weight to order the conditions inside a given extension
  * fs_dialplan.php
  */
@@ -11,8 +10,7 @@
 
 /**
  * @package FS_CURL
- * @subpackage FS_CURL_Dialplan
- * @license
+ * @license BSD
  * @author Raymond Chandler (intralanman) <intralanman at gmail.com>
  * @version 0.1
  * Class for XML dialplan

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php	Mon Feb 16 19:21:10 2009
@@ -12,8 +12,7 @@
  * @package FS_CURL
  * @subpackage FS_CURL_Directory
  * @author Raymond Chandler (intralanman) <intralanman at gmail.com>
- * @license
- * @author Raymond Chandler (intralanman) <intralanman at gmail.com>
+ * @license BSD
  * @version 0.1
  * Class for XML directory
 */

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/index.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/index.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/index.php	Mon Feb 16 19:21:10 2009
@@ -1,13 +1,18 @@
 <?php
 /**
  * @package FS_CURL
- * @license
+ * @license BSD
  * @author Raymond Chandler (intralanman) <intralanman at gmail.com>
  * @version 0.1
  * initial page hit in all curl requests
  */
 
 /**
+ * define for the time that execution of the script started
+ */
+define('START_TIME', ereg_replace('^0\.([0-9]+) ([0-9]+)$', '\2.\1', microtime()));
+
+/**
  * Pre-Class initialization die function
  * This function should be called on any
  * critical error condition before the fs_curl
@@ -15,11 +20,6 @@
  * @return void
 */
 
-/**
- * define for the time that execution of the script started
- */
-define('START_TIME', ereg_replace('^0\.([0-9]+) ([0-9]+)$', '\2.\1', microtime()));
-
 function file_not_found($no=false, $str=false, $file=false, $line=false) {
     if ($no == E_STRICT) {
         return;
@@ -50,13 +50,13 @@
 set_error_handler('file_not_found');
 
 if (!class_exists('XMLWriter')) {
-	trigger_error(
-	"XMLWriter Class NOT Found... You Must install it before using this package"
-	, E_USER_ERROR
-	);
+    trigger_error(
+    "XMLWriter Class NOT Found... You Must install it before using this package"
+        , E_USER_ERROR
+    );
 }
 if (!(@include_once('fs_curl.php'))
-|| !(@include_once('global_defines.php'))) {
+    || !(@include_once('global_defines.php'))) {
     trigger_error(
     'could not include fs_curl.php or global_defines.php', E_USER_ERROR
     );



More information about the Freeswitch-svn mailing list