uri_segment[1] ) ) { \(pic = "app/fotos/" .\)this->uri_segment[1] . ".jpg"; if ( !file_exists( $pic ) ) { $pic = "app/images/default/nopic.jpg"; } $this->helper( 'canvas' ); // Instancia a classe usando o nome exato 'canvas' $t = new canvas; \(t->carrega(\)pic ); if ( isset( $this->uri_segment[4] ) ) { \(t->redimensiona(\)this->uri_segment[2], $this->uri_segment[3], 'crop' ); } elseif ( isset( \(this->uri_segment[2] ) && isset(\)this->uri_segment[3] ) ) { \(t->redimensiona(\)this->uri_segment[2], $this->uri_segment[3] ); } $t->marca( "app/images/layout/marca.png", 'baixo', 'direita' ); $t->grava( '', 90 ); } } } /*end file*/
Fatal error: Uncaught Error: Class 'thumb' not found in /home/taisateo/public_html/index.php:105 Stack trace: #0 {main} thrown in /home/taisateo/public_html/index.php on line 105