SWX: SWF Data Format

Icon

SWX is the native data format for Adobe Flash. This blog is about all things SWX, SWX RPC, SWX PHP and the SWX APIs (Flickr, Twitter, etc.)

Can I use a folder other than /php/services to hold my SWX PHP service classes?

You sure can. All you need to do is change a setting in the SWX configuration file (swx_config.php). You can find the file in the php folder.

In it, just change the $servicesPath variable to point to where your services are (relative to the SWX gateway).

// Service Path: Put your service classes in this folder.
// Is relative to the SWX gateway (swx.php).
$servicesPath = "services/";

Comments are closed.