Re: include_path optional

From: Date: Thu, 01 Feb 2001 19:33:13 +0000
Subject: Re: include_path optional
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-32@lists.php.net to get a copy of this message
On Thu, 01 Feb 2001, Pablo Martinez wrote: > <?php if (!class_exists('Config_File')) > include_once 'Config_File.class.php'; > if (!is_object($_conf_obj) || get_class($_conf_obj) != 'config_file') { > $_conf_obj = new Config_File('/source/phpshop-core/smarty/configs'); > > The "include_once" statement is the one that is giving me trouble since I > would really like it to us the full path that I specified in the smarty > class instead of just simply giving the file name. Where can I find the > code that creates this output part of the output? Can't you just keep Config_File.class.php in the same directory as Smarty.class.php? Why do you need it in a separate directory? -Andrei "The galaxy is, in other words, an immensely, intrinsically, and inexhaustibly interesting place." -- Iain M. Banks

« previous php.smarty.general (#32) next »