Login   Register  
PHP Classes
elePHPant
Icontem

File: example

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ruben Crespo  >  Zend Framework Installer  >  example  >  Download  
File: example
Role: Example script
Content type: text/plain
Description: Example script
Class: Zend Framework Installer
Setup a files for Zend framework based application
Author: By
Last change:
Date: 2009-03-23 09:45
Size: 589 bytes
 

Contents

Class file image Download
<?php
//include class ZendInstaller
include ("ZendInstaller_class.php");

/*your application name*/
$app_name "zend_app";

/* Define the path to the library directory in your Downloaded Zend Framework distribution. You can download it at http://framework.zend.com/download */
$ZendLibrary_Path "../Zend/library";

/*Default config.ini*/
$adapter "PDO_MYSQL";
$db_host "localhost";
$db_user "db-user";
$db_pass "db-pass";
$db_name "db-name";


/*INSTALLER*/
$installer = new ZendInstaller ($app_name$ZendLibrary_Path$adapter$db_host$db_user$db_pass$db_name);

?>