Rest4 / Rest4-php

PHP Rest Full of Rest Framework
http://rest4.org
GNU General Public License v3.0
3 stars 2 forks source link

RestCompositeDriver should have it's own scope instead of using the RestServer scope #13

Open nfroidure opened 11 years ago

nfroidure commented 11 years ago

Loaded varstreams, templates etc... are currently set in the RestServer global scope. It means that we can't generate 2 different RestCompositeDrivers in the same request safely.

RestCompositeDriver should create it's own scope (vars, contents ??) and load each resource in.