void MScriptEngine::initScriptPath()
{
QSettings set;
+ qDebug()<<"initializing script environment";
//retrieve settings (or defaults)
set.beginGroup(req->configSettingsGroup()+"/script");
QMultiMap<int,QString>paths;
for(int i=0;i<=100;i++)
if(paths.contains(i))
m_basepath<<paths.values(i);
+ qDebug()<<"script environment: allowserver="<<allowserver<<"basepaths="<<m_basepath;
//retrieve scripts
if(!allowserver)return;
+ qDebug()<<"attempting to get scripts from server";
MTemplateStore*store=req->templateStore();
if(store==0)return;
- QString fn=store->getTemplate("scripts.zip").cacheFileName();
+ QString fn=store->getTemplate("scripts").cacheFileName();
if(fn=="")return;
QFile fd(fn);
if(!fd.open(QIODevice::ReadOnly))return;