Moving check to where it is actually needed
Moving check to where it is actually needed

svn path=/trunk/; revision=483

ext/slideshow-frontend,ext/slideshow,ext/slideshow,ext/slideshow,ext/slideshow,ext/slideshow,ext/slideshow-frontend,ext/slideshow-frontend,ext/slideshow