Use injector, get rid of more $GLOBALS.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 30 May 2010 22:06:18 +0000 (18:06 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 30 May 2010 22:08:08 +0000 (18:08 -0400)
commit915027da14f7b892c0790896264146249b54d68a
treec2d2312634bf898b6f6bf5b18c9d7eacbd5cc853
parent5f489ce8e301fabf526cb9e0e7da306bd04643e3
Use injector, get rid of more $GLOBALS.

Use injector for vfs, and for style config.  Added a binder and factory for
Ansel_Storage, but still need to work out the need to be able to support
different scopes. Will probably need to be passing the scope string around
everywhere...
21 files changed:
ansel/faces/img.php
ansel/img/download.php
ansel/img/full.php
ansel/img/index.php
ansel/img/mini.php
ansel/img/prettythumb.php
ansel/img/screen.php
ansel/img/thumb.php
ansel/lib/Ansel.php
ansel/lib/Api.php
ansel/lib/Application.php
ansel/lib/Faces.php
ansel/lib/Faces/Base.php
ansel/lib/Gallery.php
ansel/lib/GalleryMode/Date.php
ansel/lib/GalleryMode/Normal.php
ansel/lib/Image.php
ansel/lib/Injector/Binder/Storage.php [new file with mode: 0644]
ansel/lib/Injector/Binder/Styles.php [new file with mode: 0644]
ansel/lib/Injector/Factory/Storage.php [new file with mode: 0644]
ansel/lib/Storage.php