Expected behavior?

From: Date: Mon, 01 May 2000 09:52:17 +0000
Subject: Expected behavior?
Groups: php.version4 
Request: Send a blank email to php-version4+get-14261@lists.php.net to get a copy of this message
While doing some work with classes today I came across something I found a bit puzzling. I have a page that requires a class file, and in that file (file 2) it requires another file (file 3). On the 1st required file I get an error on compile because php can't find file 3. File 1 lives in a different directory than file 2, which is causing the error. My question then is, should this be happening? Is this the expected behavior? (In a perfect world, shouldn't file 3 be included relative to file 2, and not the calling file (file 1)?) Has anyone come up with an elegant way around this? // seth

« previous php.version4 (#14261) next »