From: Banana Date: Fri, 30 Nov 2012 12:41:31 +0000 (+0100) Subject: show the link after creation of screenshot X-Git-Tag: 2.1-alpha-2019-0-29~76 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=d3d16982b7cc97ea10b2a176a908a6e66b9476ab;p=insipid.git show the link after creation of screenshot --- diff --git a/lib/Insipid/Main.pm b/lib/Insipid/Main.pm index 78914a0..66fb6e7 100755 --- a/lib/Insipid/Main.pm +++ b/lib/Insipid/Main.pm @@ -434,6 +434,9 @@ FORM my $output = `$phantomjsPath --proxy=10.0.1.11:80 ./lib/screen.js $url $screnshotNameFile`; if($? == 0) { print '

Success !

'; + if(-e $screnshotNameFile) { + print "

Screenshot available: see it here.

"; + } } else { print "

Screenshot creation failed.

";