Skip to content

Commit

Permalink
Create installer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktorsner committed Dec 11, 2012
1 parent 1617fee commit e5b5a60
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions installer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/**
* Erik Torsner CodeIgniter installer
*
* (c) Erik Torsner <[email protected]>
*
*/

process($argv);

/**
* processes the installer
*/
function process($argv)
{
//$help = in_array('--help', $argv);
/**
* 1. Get the archive from Ellis
* 2. Unzip it
* 3. Go in and add the 'localsettings' hack
* 4. Download the CI
*
*/
$cmd = 'curl -sL http://ellislab.com/codeigniter/download > ci.zip';
exec $cmd;


}

0 comments on commit e5b5a60

Please sign in to comment.