@@ -167,7 +167,7 @@ class IndexShell extends AppShell {
if (!$useDbConfig) {
return array();
}
- require_once(CONFIGS . 'database.php');
+ require_once CONFIGS . 'database.php';
$connections = get_class_vars('DATABASE_CONFIG');
if (!isset($connections[$useDbConfig])) {
@@ -7,6 +7,12 @@ App::uses('Controller', 'Controller');
class MyController extends Controller {
/**
+ * @var array
+ * @link https://github.com/cakephp/cakephp/pull/857
+ */
+ public $paginate = array();
+
+ /**
* Fix for asset compress to not run into fatal error loops
*/
public function __construct($request = null, $response = null) {
@@ -109,6 +109,7 @@ class DiffLib {
return false;
* Compare function
* Compares two strings/arrays using the specified method and renderer
@@ -51,7 +51,6 @@ class RandomLib {
//NOT IMPORTANT
- //TODO
* 1950-01-01 - 2050-12-31
@@ -80,6 +79,7 @@ class RandomLib {
* 00:00:00 - 23:59:59
public static function time($min = null, $max = null, $formatReturn = null) {
$res = 0;
@@ -732,6 +732,7 @@ class MyModel extends Model {
'processed' => true
)
* Core-fix for multiple sort orders
*
@@ -1271,7 +1272,6 @@ class MyModel extends Model {
public function validateDateRange($data, $options = array()) {
* Validation of Time Fields (>= minTime && <= maxTime)
* @param options
@@ -511,6 +511,7 @@ class FormExtHelper extends FormHelper {
//TODO: use http://trentrichardson.com/examples/timepicker/
// or maybe: http://pttimeselect.sourceforge.net/example/index.html (if 24 hour + select dropdowns are supported)
* quicklinks: clear, today, ...