Skip to content

Instantly share code, notes, and snippets.

@mindesik
Created May 27, 2016 08:00
Show Gist options
  • Save mindesik/6b236147b70ee5363a5b18eb6efe2eae to your computer and use it in GitHub Desktop.
Save mindesik/6b236147b70ee5363a5b18eb6efe2eae to your computer and use it in GitHub Desktop.
Patch for Codeigniter 2.2.x for php 5.6
From da806e2b643379d024b075dd57dc8f966acc01a9 Mon Sep 17 00:00:00 2001
From: Eugene Min <e.v.min@icloud.com>
Date: Sun, 14 Feb 2016 08:36:50 +1000
Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B2=D0=BC=D0=B5=D1=81=D1=82?=
=?UTF-8?q?=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D1=8C=20=D1=81=20php=205.6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
system/core/Common.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/core/Common.php b/system/core/Common.php
index 07534c5..f235b87 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -254,7 +254,8 @@ if ( ! function_exists('get_config'))
}
}
- return $_config[0] =& $config;
+ $_config[0] =& $config;
+ return $_config[0];
}
}
--
2.5.4 (Apple Git-61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment