svn: /pear/peardoc/trunk/en/package/networking/net-url-mapper/ example.xml

[email protected] (Till Klampaeckel)
Newsgroups php.pear.doc
Message-ID <[email protected]>
till                                     Sun, 04 Oct 2009 15:26:03 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=289193

Log:
fixed code error

Changed paths:
    U   pear/peardoc/trunk/en/package/networking/net-url-mapper/example.xml

Modified: pear/peardoc/trunk/en/package/networking/net-url-mapper/example.xml
===================================================================
--- pear/peardoc/trunk/en/package/networking/net-url-mapper/example.xml	2009-10-04 15:25:09 UTC (rev 289192)
+++ pear/peardoc/trunk/en/package/networking/net-url-mapper/example.xml	2009-10-04 15:26:03 UTC (rev 289193)
@@ -107,7 +107,7 @@
 // load the controller class
 require 'app/modules/' . $route['module'] . '/' . $class . '.php';

-$controllerObj = new $class;
+$controllerObj = new $controllerClass;
 call_user_func(array($controllerObj, $controllerAction)); // pseudo dispatcher
      ]]>
    </programlisting>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.