Warning: session_start(): open(/var/lib/php/sessions/sess_mgpldqq36kcc7dpshoaftrabo8, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
please include function shootScreen2.
static void shootScreenAsPNGFile(File f) ctex {
if (shootScreen_useScrot) {
if (!isOnPATH("scrot")) shootScreen2_fallback();
if (shootScreen_useScrot) {
try {
S cmd = "scrot " + bashQuote(f);
S out = backtick(cmd);
if (f.exists()) ret f;
shootScreen2_fallback();
} catch e {
print(e);
shootScreen2_fallback();
}
}
}
savePNG(f, new Robot().createScreenCapture(area));
}