This file contains 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
joindin::composer() { | |
exec { 'composer': | |
command => "/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php && \ | |
mv composer.phar /usr/local/bin/composer", | |
require => [Package['php'], Package['php-pear']], | |
creates => "/usr/local/bin/composer", | |
} | |
} |
This file contains 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 extension_ownlogin extends Extension{ | |
public function getSubscribedDelegates() { | |
return array( | |
array( | |
'page' => '/backend/', | |
'delegate' => 'AdminPagePreGenerate', | |
'callback' => 'changeLoginForm' |