Created
March 19, 2014 23:21
-
-
Save jaggy/9653701 to your computer and use it in GitHub Desktop.
Just a quick setup for everything
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class SetupShell extends AppShell{ | |
function main(){ | |
system('./Console/cake acl create aco root controllers'); | |
system('./Console/cake AclExtras.AclExtras aco_sync'); | |
$handle = curl_init(); | |
curl_setopt($handle, CURLOPT_URL, 'http://dev:3000/setup'); | |
curl_exec($handle); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment