Changeset 111 for Dev


Ignore:
Timestamp:
09/19/11 16:12:56 (14 years ago)
Author:
basvannuland
Message:

application map is created if non-existent

Location:
Dev/trunk/classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/ApplicationDatabaseInterface.php

    r91 r111  
    5454        $applicationInfo['applicationDescription'] = $resultApplication[0]['?description']->label;
    5555        $applicationInfo['applicationStyle'] = $resultApplication[0]['?style']->label;
    56 
    5756        return $applicationInfo;
    5857    }
  • Dev/trunk/classes/ApplicationRDFWriter.php

    r100 r111  
    1313
    1414        $this->applicationID = $applicationID;         
    15 
     15       
     16        if (!is_dir('data/applications/'))
     17            mkdir('data/applications/');       
     18       
    1619        if(file_exists($this->fileName))
    1720            $this->model->load($this->fileName);
Note: See TracChangeset for help on using the changeset viewer.