Forum Moderators: coopster

Message Too Old, No Replies

DIR CLASSES wth is this?

         

ramoneguru

6:43 am on Nov 7, 2006 (gmt 0)

10+ Year Member



ok, I have the following code:
this file is called cont.php:

<?php
require_once(DIR_CLASSES . 'container/containerbase.php');

.
.
class Container extends Containerbase
{
.
.
.
class def's
.
.
}
?>

Now nowhere in the containerbase.php file is the value DIR_CLASSES defined and its not some PHP global value. I also have no common.inc file that might define this value.

Where/How do I define the DIR_CLASSES value?
--Nick

coopster

2:22 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have a look at your php directives to make sure it isn't included through an auto_prepend_file [php.net].