Skip to content

Commit

Permalink
Added exec command....
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktorsner committed Jan 3, 2013
1 parent 131b5ad commit 23335a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpactiverecord.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
*/

// Get the latest phpactiverecord
echo "Fetching latest phpactiverecord from github.com/toopay/gas-orm....\n";
echo "Fetching latest phpactiverecord from github.com....\n";
$cmd = "git clone git://github.com/eriktorsner/php-activerecord.git";
exec($cmd);

echo "Moving into application/third_party ..\n";
$cmd = "mv php-activerecord $ci_folder/application/third_party/";
exec($cmd);

echo "Enable hooks in application/config/config.php\n";
$target_file = "$ci_folder/application/config/config.php";
Expand Down

0 comments on commit 23335a6

Please sign in to comment.