~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to web/xmds.php

  • Committer: Dan Garner
  • Date: 2016-04-05 12:44:24 UTC
  • mfrom: (487.1.67)
  • Revision ID: git-v1:3ee1212b02c722a146a00e094f0ff69f88fb5c7d
Merge pull request #149 from dasgarner/develop

Post 1.8.0-alpha3 fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
// Set state
60
60
\Xibo\Middleware\State::setState($app);
61
61
 
 
62
// Town down all logging
 
63
$app->getLog()->setLevel(\Xibo\Service\LogService::resolveLogLevel('error'));
 
64
 
62
65
// Always have a version defined
63
66
$version = $app->sanitizerService->getInt('v', 3, $_REQUEST);
64
67
 
175
178
        throw new InvalidArgumentException(__('Your client is not the correct version to communicate with this CMS.'));
176
179
 
177
180
    // Create a log processor
178
 
    $logProcessor = new \Xibo\Xmds\LogProcessor();
 
181
    $logProcessor = new \Xibo\Xmds\LogProcessor($app->getLog());
179
182
    $app->logWriter->addProcessor($logProcessor);
180
183
 
181
184
    // Create a SoapServer
182
 
    //$soap = new SoapServer($wsdl);
183
 
    $soap = new SoapServer($wsdl, array('cache_wsdl' => WSDL_CACHE_NONE));
 
185
    $soap = new SoapServer($wsdl);
 
186
    //$soap = new SoapServer($wsdl, array('cache_wsdl' => WSDL_CACHE_NONE));
184
187
    $soap->setClass('\Xibo\Xmds\Soap' . $version,
185
188
        $logProcessor,
186
189
        $app->pool,