Trying to upgrade my app from 1.2.5 to the 1.3 dev.
I'm using the smarty templating system and its giving a few errors.
The code that gives errors is:
        $paths = Configure::getInstance();

        foreach($paths->viewPaths as $path) {
            if (file_exists($path . 'layouts' . DS . $this->subDir . $type .
$this->layout . $this->ext)) {
                $layoutFileName = $path . 'layouts' . DS . $this->subDir .
$type . $this->layout . $this->ext;
                return $layoutFileName;
            }
        }


Reading the migration page It says that getInstance is depreciated and I
should call string methods statically. I'm slightly unsure what this
actually means. Anyone able to help?

Thanks,
Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to