Skip to content

Instantly share code, notes, and snippets.

View ellisio's full-sized avatar
:octocat:
Go Avs!

Andrew Ellis ellisio

:octocat:
Go Avs!
  • Denver, CO
View GitHub Profile
<?php
/**
* Enable modules. Modules are referenced by a relative or absolute path.
*/
if (Kohana::$environment === Kohana::PRODUCTION)
{
Kohana::modules(array(
'cache' => MODPATH.'cache',
'database' => MODPATH.'database'
));
$ cd /path/to/new/files
$ tar -cf temp.tar *
$ cd /path/to/working/application
$ tar -xf /path/to/new/files/temp.tar