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 User { | |
protected $email; | |
protected $password; | |
public function is($role = 'user') {} | |
public function login($email, $pass) {} | |
public function isLoggedin() {} | |
getEmail |
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 options | |
pid = /var/run/hhvm/pid | |
; hhvm specific | |
hhvm.server.port = 9000 | |
hhvm.server.type = fastcgi | |
hhvm.server.default_document = index.php | |
hhvm.log.use_log_file = true | |
hhvm.log.file = /var/log/hhvm/error.log | |
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc |
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
<IfModule mod_fastcgi.c> | |
<FilesMatch \.php$> | |
SetHandler hhvm-php-extension | |
</FilesMatch> | |
<FilesMatch \.hh$> | |
SetHandler hhvm-hack-extension | |
</FilesMatch> | |
Alias /hhvm /hhvm |
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
// This command will get the current config of the "Document"-Application | |
var cfg = Tine.Document.registry.get('config'); |
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
/* | |
account = { | |
accountDisplayName: "Milz, Simon" | |
accountEmailAddress: "[email protected]" | |
accountExpires: null | |
accountFirstName: "Simon" | |
accountFullName: "Simon Milz" | |
accountHomeDirectory: null | |
accountId: "38f566d4f6e648a7b4a25eadad260b1db040d076" | |
accountLastLogin: "2014-07-20 17:56:33" |