Integration of MVC

See all posts See thread Reply

Re: Integration of MVC new!
by Sai, 10 years ago
Thanks Colin, I solved the problem. Generate the wrapper class:

require('libs/class.upload.php');
class TinyMVC_Library_Upload Extends upload {
    var $file;
    function __construct(){
        parent::__construct($this->file);
        $tmvc = tmvc::instance();
  }
}

Everything works. :)Reply
Re: Integration of MVC new!
by colin, 10 years ago
Glad you got it working. And thank you for sharing the code.Reply