diff --git a/lib/CProject.php b/lib/CProject.php index 0c0730a..3a3a393 100644 --- a/lib/CProject.php +++ b/lib/CProject.php @@ -117,7 +117,7 @@ class CProject { // Generate image thumbnails foreach($this->images as $idx => $image) { - $outfile = BASEDIR.'wwwroot/srv/'.$this->projname.'_'.$idx; + $outfile = BASEDIR.'wwwroot/img/'.$this->projname.'_'.$idx; copy($this->dir.$image, $outfile.'.'.str_ext($image)); mkthumbnail($outfile.'.'.str_ext($image), $outfile.'_thumb.jpg', PAGE_THUMB_W, PAGE_THUMB_H); diff --git a/lib/template.php b/lib/template.php index 96a1f56..61f23f7 100644 --- a/lib/template.php +++ b/lib/template.php @@ -9,9 +9,9 @@ function template($title, $content) { - - - + + +