Hi

I want to upgrade to 1.03 from 1.01

My autoload in the bootstrap looks like this

require 'Zend/Loader.php';

/**
* Function to autoload all the required classes. Eliminates the need to use the
 * loadClass method anywhere else within the site.
 *
 * @param  string $class
 * @return void
 */
function __autoload($class)
{
    Zend_Loader::loadClass($class);
}

Now I believe from reading the loader docs that this has changed, my home dev machine is Windows Vista with PHP Version 5.2.3

This is my SPL from phpinfo - whats funny is that i dont have the autoload feature it seems - can someone help me get it and also post there bootstrap code for autoloading now.

SPL
SPL support     enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

Cheers

Ian

Reply via email to