Can I use ezComponents? Print

  • 66

Yes! In fact, we have ezComponents pre-installed in all ServerGrove servers. Just include the components that you want to use, using these examples:

Example 1 - include_path:

<?php set_include_path( "/usr/local/php/ezc:" . ini_get( "include_path" ) ); ?>

Example 2 - Autoload:

<?php require_once "ezc/Base/base.php";

// dependent on installation method, see below function __autoload( $className ) { ezcBase::autoload( $className ); }

// your code here

?>

Example 3 - Boot strap:

<?php require 'ezc/Base/ezc_bootstrap.php'; ?>

For more information and help on ezComponents installations, visit the ezComponents documentation.


Was this answer helpful?

« Back