Skip to content

Instantly share code, notes, and snippets.

View zroger's full-sized avatar
💾
compiling...

Roger López zroger

💾
compiling...
View GitHub Profile
<?php
/**
* @file
* This is a modified version of index.php, to be used with phpsh.
*/
/**
* Root directory of Drupal installation.
*/
define('DRUPAL_ROOT', getcwd());
ServerName <?php print $host ?>
Listen <?php print $port ?>
Ends up being:
ServerName localhostListen 8080
{
sessions: [
...
],
rooms: [
...
]
}
{
"room": [
{
"nid": "38",
"type": "room",
"language": "",
"uid": "9",
"status": "1",
"created": "1318393506",
diff --git a/drupal/drupal-7.9/sites/all/modules/custom/elc_video_content/elc_video_content.info b/drupal/drupal-7.9/sites/all/modules/custom/elc_video_content/elc_video_content.info
index 64079f2..9bd3f8f 100755
--- a/drupal/drupal-7.9/sites/all/modules/custom/elc_video_content/elc_video_content.info
+++ b/drupal/drupal-7.9/sites/all/modules/custom/elc_video_content/elc_video_content.info
@@ -7,3 +7,5 @@ core = "7.x"
dependencies[] = "elc_video"
#dependencies[] = "template_api"
#dependencies[] = "template_mustache"
+
+files[] = "plugins/input_types/video.inc"
#!/usr/bin/env php
<?php
/**
* This script requires 2 PEAR libraries.
*
* pear install Console_Table
* pear install Console_CommandLine
*/
@include_once 'Console/Table.php';
digraph StateFlow {
graph [ranksep=".75"];
node [label="\N", shape=box];
graph [bb="0,0,570.99,528",
_draw_="c 9 -#ffffffff C 9 -#ffffffff P 4 0 -1 0 528 572 528 572 -1 ",
xdotversion="1.2"];
{
graph [rank=source,
bb="",
_draw_="",
7ad8d79 ELC-600 Added the search and find_content modules to the installation profile. (Rob Montero, 3 days ago)
diff --git a/drupal/drupal-7.9/profiles/elc_basic/elc_basic.modules.inc b/drupal/drupal-7.9/profiles/elc_basic/elc_basic.modules.inc
index bcc7d2c..cd1c2b4 100644
--- a/drupal/drupal-7.9/profiles/elc_basic/elc_basic.modules.inc
+++ b/drupal/drupal-7.9/profiles/elc_basic/elc_basic.modules.inc
@@ -50,6 +50,8 @@ function elc_basic_get_modules() {
'perlgem',
'pg_request',
'jquery_dirty_forms',
diff --git a/drupal/drupal-7.9/sites/all/modules/custom/elc_workflow/includes/elc_workflow.node_controller.inc b/drupal/drupal-7.9/sites/all/modules/custom/elc_workflow/includes/elc_workflow.node_controller.inc
index cc1b015..8e2547c 100644
--- a/drupal/drupal-7.9/sites/all/modules/custom/elc_workflow/includes/elc_workflow.node_controller.inc
+++ b/drupal/drupal-7.9/sites/all/modules/custom/elc_workflow/includes/elc_workflow.node_controller.inc
@@ -2,11 +2,14 @@
class ELCNodeController extends NodeController {
public function load($ids = array(), $conditions = array()) {
- if ($site_tag = elc_workflow_get_tag()) {
+ if (empty($conditions[$this->revisionKey]) &&
if (!function_exists('drush_main') || !($command = drush_get_command())
|| ($command['bootstrap'] >= DRUSH_BOOTSTRAP_DRUPAL_FULL)
|| ($command['bootstrap'] == DRUSH_BOOTSTRAP_MAX)) {
include DRUPAL_ROOT .'/sites/all/modules/contrib/domain/settings.inc';
}