Skip to content

AUTOPLANNING/acexceptionnotifierplugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# acExceptionNotifierPlugin (for symfony 1.3/1.4) #

Allows you to send by e-mails errors 500 (Exception type) that occur in production environments.

## Installation ##

  * Install the plugin (via a package)

        symfony plugin:install acExceptionNotifierPlugin

  * Install the plugin (via a git clone)
    
        git clone git://gitorious.org/acexceptionnotifierplugin/acexceptionnotifierplugin.git acExceptionNotifierPlugin

  * Activate the plugin in the `config/ProjectConfiguration.class.php`
  
        [php]
        class ProjectConfiguration extends sfProjectConfiguration
        {
          public function setup()
          {
            $this->enablePlugins(array(
              'sfDoctrinePlugin', 
              'acExceptionNotifierPlugin',
              '...'
            ));
          }
        }

  * Configure the plugin in the `config/app.yml` of the project (create it if it doesn't exist)
  
        [yaml]
        all:
          ...
          ac_exception_notifier:
            enabled: true
            email:
              from: "[email protected]"
              from_name: "acExceptionNotifierPlugin"
              to: ["[email protected]", "[email protected]"]
              subject: "500 | Internal Server Error | Exception"
          ...
        
  * Clear you cache

        symfony cc

About

Clone acExceptionNotifierPlugin from gitorious project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages