Pow include

From PlainOldWebserver

Jump to: navigation, search

Back to Top

pow_include()

Includes an SJS file in-line before executing SJS page. The root ("/") of this command is the pow directory in your Firefox profile directory.

        <?sjs
                pow_include("lib.sjs");
        ?>

lib.sjs:

        <?sjs
                document.writeln("Hello from library!");
        ?>

Result:

                Hello from library!

See also

Personal tools
Navigation