This dialog is running from your /tmp directory. "
+ " This may mean that it was run from a KMail attachment or from a webpage. "
+ "Any script contained in this dialog will have write access to all of your home directory; "
+ "running such dialogs may be dangerous: "
+ "
are you sure you want to continue?
")) == KMessageBox::No)
+ return false;
+ }
+
/* add runtime arguments */
if (m_cmdArguments) {
QString args;
@@ -143,18 +172,7 @@ bool Instance::run(QFile *a_file)
KommanderWidget::setGlobal("ARGS", args);
}
KommanderWidget::setGlobal("ARGCOUNT", QString("%1").arg(m_cmdArguments));
-
- if (m_uiFileName.directory().startsWith(locateLocal("tmp", "") + "/") ||
- m_uiFileName.directory().startsWith("/tmp/"))
- {
- if (KMessageBox::warningYesNo(0, i18n("