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 eventevent1 extends SectionEvent | |
{ | |
public $ROOTELEMENT = 'event1'; | |
public $eParamFILTERS = array( | |
); | |
public static function about() |
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 | |
/** | |
* Extension driver | |
* | |
* @package Lalala | |
* @author Michael E. | |
*/ | |
class extension_lalala extends Extension | |
{ |
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(EXTENSIONS . '/remote_datasource/data-sources/datasource.remote.php'); | |
Class datasourcetwitter extends RemoteDatasource { | |
public $dsParamROOTELEMENT = 'twitter'; | |
public $dsParamURL = 'https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=ACCOUNT_NAME&count=10'; | |
public $dsParamFORMAT = 'json'; | |
public $dsParamXPATH = '/'; |
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; |
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
/*------------------------------------------------------------------------- | |
Role Manager: (replace in members/extension.driver.php when using Abffilter) | |
-------------------------------------------------------------------------*/ | |
public function checkFrontendPagePermissions($context) { | |
$isLoggedIn = false; | |
$errors = array(); | |
// Checks $_REQUEST to see if a Member Action has been requested, | |
// member-action['login'] and member-action['logout']/?member-action=logout |
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 | |
// configuration | |
mysql_connect("host","username","password"); | |
mysql_select_db("database"); | |
// do it | |
$resource = mysql_query("SHOW TABLES"); | |
while ($row = mysql_fetch_array($resource)) { | |
$table = $row[0]; |
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 | |
### | |
# | |
# Symphony web publishing system | |
# | |
# Copyright 2004 - 2006 Twenty One Degrees Pty. Ltd. This code cannot be | |
# modified or redistributed without permission. | |
# | |
# For terms of use please visit http://21degrees.com.au/products/symphony/terms/ |
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
Dear soon-to-be-former user, | |
We've got some fantastic news! Well, it's great news for us anyway. You, on | |
the other hand, are fucked. | |
We've just been acquired by: | |
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
# Define specified subdomains first | |
<VirtualHost *:80> | |
ServerName subdomain.domain.com | |
DocumentRoot "/path/to/domain.com/subdomains/subdomain" | |
</VirtualHost> | |
# Define domain and wildcard subdomains second | |
<VirtualHost *:80> | |
ServerName domain.com | |
DocumentRoot "/path/to/domain.com/httpdocs" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<html> | |
<head> | |
<link rel="stylesheet" href="workspace/assets/style.css"/> | |
</head> | |
<body> | |
<div id="head"> | |
<h1>Title</h1> | |
</div> | |
<div id="package"> |
NewerOlder