From e5b5a6082536c88dec26eaecaf69d8fee7859f88 Mon Sep 17 00:00:00 2001 From: eriktorsner Date: Tue, 11 Dec 2012 05:58:33 -0800 Subject: [PATCH] Create installer.php --- installer.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 installer.php diff --git a/installer.php b/installer.php new file mode 100644 index 0000000..12ed195 --- /dev/null +++ b/installer.php @@ -0,0 +1,28 @@ + + * + */ + +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; + + +} \ No newline at end of file