[Freeswitch-svn] [commit] r2546 - freeswitch/branches/docelmo/trunk/src/mod/languages/mod_elmoscript

Freeswitch SVN docelmo at freeswitch.org
Thu Sep 7 02:42:32 EDT 2006


Author: docelmo
Date: Thu Sep  7 02:42:31 2006
New Revision: 2546

Modified:
   freeswitch/branches/docelmo/trunk/src/mod/languages/mod_elmoscript/fs_elmoscript.php

Log:


Modified: freeswitch/branches/docelmo/trunk/src/mod/languages/mod_elmoscript/fs_elmoscript.php
==============================================================================
--- freeswitch/branches/docelmo/trunk/src/mod/languages/mod_elmoscript/fs_elmoscript.php	(original)
+++ freeswitch/branches/docelmo/trunk/src/mod/languages/mod_elmoscript/fs_elmoscript.php	Thu Sep  7 02:42:31 2006
@@ -15,8 +15,15 @@
 $FS_ELMOSCRIPT_LOADED__ = true;
 
 /* if our extension has not been loaded, do what we can */
-if (!extension_loaded("php_fs_elmoscript")) {
-  if (!dl("php_fs_elmoscript.so")) return;
+if (!extension_loaded("fs_elmoscript")) {
+  if (!dl("fs_elmoscript.so")) {
+  echo "damnit jim..  didnt work\n";
+  return;
+  }else{
+     echo "SUCCESS!\n";
+  }
+}else{
+  echo "SUCCESS!\n";
 }
 
 



More information about the Freeswitch-svn mailing list