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
// everyone's new favorite closure pattern: | |
(function(window,document,undefined){ ... })(this,this.document); | |
// when minified: | |
(function(w,d,u){ ... })(this,this.document); | |
// which means all uses of window/document/undefined inside the closure | |
// will be single-lettered, so big gains in minification. | |
// it also will speed up scope chain traversal a tiny tiny little bit. |
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 | |
require_once(TOOLKIT . '/class.datasource.php'); | |
Class datasourcedays extends Datasource{ | |
public $dsParamROOTELEMENT = 'days'; | |
public $dsParamURL = 'http://symphony.dev'; | |
public $dsParamXPATH = '/'; | |
public $dsParamCACHE = '60'; |
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 | |
require_once(TOOLKIT . '/class.datasource.php'); | |
require_once(DOCROOT . '/extensions/asdc/lib/class.asdc.php'); | |
Class datasourceforum_discussions_by_category extends Datasource{ | |
private static $_fields; | |
private static $_sections; | |
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 | |
require_once(TOOLKIT . '/class.datasource.php'); | |
Class datasourceblog_post_moderated_comment_count extends Datasource{ | |
var $dsParamROOTELEMENT = 'blog-post-moderated-comment-count'; | |
var $dsParamORDER = 'desc'; | |
var $dsParamLIMIT = '9999'; | |
var $dsParamREDIRECTONEMPTY = 'no'; |
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
server { | |
listen 80; | |
server_name localhost; | |
access_log /path/to/log/access.log; | |
error_log /path/to/log/error.log; | |
location / { | |
root /path/to/root; | |
index index.php; |
NewerOlder