Open JaneneF opened 8 years ago
My site updated to the latest version of Wunderground. Now the objects that my homepage needs are not found.
I have the following code include "Autoload.class.php"; include_once('includes/hostConfig.inc.php'); $galleryPhotoDTO = new GalleryPhotosDTO();
The GalleryPhotosDTO object is not found. This was not happening in an older version of the plugin.
Here is my Autoload.class.php
<?php function __autoload($class) { if (strpos($class,'DTO') !== false) { include 'dao/' . $class.".class.php"; } else if (strpos($class,'DAO') !== false) { include 'dao/' . $class.".class.php"; } else { include $class.".class.php"; } } ?>
Any help would be appreciated.
Janene
My site updated to the latest version of Wunderground. Now the objects that my homepage needs are not found.
I have the following code include "Autoload.class.php"; include_once('includes/hostConfig.inc.php'); $galleryPhotoDTO = new GalleryPhotosDTO();
The GalleryPhotosDTO object is not found. This was not happening in an older version of the plugin.
Here is my Autoload.class.php
<?php function __autoload($class) { if (strpos($class,'DTO') !== false) { include 'dao/' . $class.".class.php"; } else if (strpos($class,'DAO') !== false) { include 'dao/' . $class.".class.php"; } else { include $class.".class.php"; } } ?>
Any help would be appreciated.
Janene