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 | |
// now login the user | |
$fe_user = $GLOBALS['TSFE']->fe_user; | |
$fe_user->createUserSession(array('uid' => $uid)); | |
$fe_user->user = $fe_user->getRawUserByUid($uid); | |
$fe_user->fetchGroupData(); | |
$GLOBALS['TSFE']->loginUser = 1; | |
// set the cookie |
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
commands: | |
create_post_dir: | |
command: "mkdir /opt/elasticbeanstalk/hooks/appdeploy/post" | |
ignoreErrors: true | |
files: | |
"/etc/rsyslog.d/11-sidekiq.conf": | |
mode: '000644' | |
content: | | |
EB_CONFIG_APP_LOGS=$(/opt/elasticbeanstalk/bin/get-config container -k app_log_dir) |
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
App.AccountEditRoute = Ember.Route.extend({ | |
setupController: function(controller) { | |
controller.set('content', this.get('currentUser')); | |
} | |
}); |
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
"name","iso_name","iso2","iso3","numcode" | |
"Antigua and Barbuda","ANTIGUA AND BARBUDA","AG","ATG",28 | |
"Bosnia and Herzegovina","BOSNIA AND HERZEGOVINA","BA","BIH",70 | |
"Cocos (Keeling) Islands","COCOS (KEELING) ISLANDS","CC","\N","\N" | |
"Congo, the Democratic Republic of the","CONGO, THE DEMOCRATIC REPUBLIC OF THE","CD","COD",180 | |
"Cote D'Ivoire","COTE D'IVOIRE","CI","CIV",384 | |
"Fiji","FIJI","FJ","FJI",242 | |
"French Southern Territories","FRENCH SOUTHERN TERRITORIES","TF","\N","\N" | |
"Heard Island and Mcdonald Islands","HEARD ISLAND AND MCDONALD ISLANDS","HM","\N","\N" | |
"Holy See (Vatican City State)","HOLY SEE (VATICAN CITY STATE)","VA","VAT",336 |
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 | |
namespace app\extensions\helper; | |
class Form extends \lithium\template\helper\Form { | |
/** | |
* String templates used by this helper. | |
* | |
* @var array |