/c33sStaticPlugin

Symfony 1.x Plugin for serving Static pages.

Primary LanguagePHPMIT LicenseMIT

c33sStaticPlugin

project status

c33sStaticPlugin provides an easy way to serve static pages. The plugin is based upon http://trac.symfony-project.org/wiki/HowtoServeStaticContent

Requirements

Installation

  • Install plugin in /plugins/c33sStaticPlugin using GIT, SVN or whatever you like
  • Enable plugin in /config/ProjectConfiguration.class.php
<?php

class ProjectConfiguration extends sfProjectConfiguration
{
	public function setup()
	{
		...
		$this->enablePlugins('c33sStaticPlugin');
		...
	}
}

Usage

The plugin automatically registers its route as catch-all route.