Re: How to find where class is used?

From: Date: Fri, 06 Jan 2012 12:24:06 +0000
Subject: Re: How to find where class is used?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-316199@lists.php.net to get a copy of this message
On Fri, Jan 6, 2012 at 5:08 PM, Curtis Maurand <curtis@maurand.com> wrote: > > it will be somewhere in php's search path.  you'd be better off trying > search for a file of the same name. > > cd /usr/lib/php5 > find . -iname "vB_ProfileBlock*" > > if you have locate installed, try: "locate vB_ProfileBlock" > This works if vBulletin was installed as a system package. No other package directly installs in php include paths. OP should try this: grep -ir 'class vb_profileblock' <path to root of vBulletin installation> -- Nilesh Govindarajan http://nileshgr.com

« previous php.general (#316199) next »