Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Using app:// wrapper in PHP

Hi guys,

just played around with PHP in my Desktop app. One big thing for me is the filehandling in PHP ( which is not realy existing in JS ). But then this error occured …

Unable to find the wrapper "app" - did you forget to enable it when you configured PHP?

Can someone help me out ?

greetings form sunny germany

— asked June 3rd 2010 by Moritz Spindelhirn
  • app
  • desktop
  • php
  • wrapper
1 Comment
  • Can you share the code you're trying to run so we can help troubleshoot? Thanks…

    — commented June 3rd 2010 by Kevin Whinnery

1 Answer

  • Sure. And in addition to my problemcode i post my solution too

    scandir('app://styles'); // Does not work
    scandir($Titanium->Filesystem->getResourcesDirectory().'/styles'); // works fine
    — answered June 4th 2010 by Moritz Spindelhirn
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.