Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.04 KB

Sample Album Modulefor Zend Framework 2

Introduction

Album is a sample Module based on the (Getting Started) guide framework.zend.com .

Installation

Main Setup

  1. Clone this project into your ./module/ directory and enable it in your application.config.php file.
return array(
    'modules' => array(
        'Application',
        'Album',//add this to your configuration
    ),
    'module_listener_options' => array(
        'config_glob_paths'    => array(
            'config/autoload/{,*.}{global,local}.php',
        ),
        'module_paths' => array(
            './module',
            './vendor',
        ),
    ),
);

Copy the These files

  • module/Album/config/database.local.php.dist to config/autload/database.local.php
  • module/Album/config/global.php.dist to config/autload/global.php

###Database Setup Import module/Album/data/album.sql into your database

###Usage Browser to the album page

your-domain-name/album