|
From: Asheesh L. <as...@as...> - 2010-09-21 13:56:52
|
On Tue, 21 Sep 2010, Geoff wrote: > Hello, > > Before finding the archives of mailing list i searched for an answer to > Function split() is deprecated, but could not find anything specific to > cchost. I did however find elsewhere to use explode and then when i found > the archive (or actually thought to use it) i found someone else post the > use of explode as well. > > Anyways, I am now up to editing my third file in cchost [ > cchost_lib/cc-util.php , cc-upload-forms.php & ccextras/cc-file-props.php ] > and am wondering if there is a list of files that needed to be edited rather > then checking everywhere to see if an error pops up. > > The post in archive mentions > > > find . -type f | xargs perl -pi -e 's/ split\(/ explode\(/g'; > > > however i was not sure if that was correct solution as it does not even list > the cchost directory anywhere to even search Hi there! The "." in that command line refers to the current working directory. So if you "cd" into the ccHost directory, then the "." refers to the ccHost directory. I think that the above would work fine. I think that if it seems to work for you, you should submit a patch so that this modification becomes part of the next version of ccHost. -- Asheesh. |