Skip to content

Commit

Permalink
Adding file header to sql dump element.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 19, 2009
1 parent 13ffcbc commit 42e13ed
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions cake/libs/view/elements/sql_dump.ctp
@@ -1,6 +1,23 @@
<?php

if (!class_exists('ConnectionManager') || Configure::read('debug') > 1) {
/**
* SQL Dump element. Dumps out SQL log information
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @package cake
* @subpackage cake.cake.libs.view.templates.elements
* @since CakePHP(tm) v 1.3
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
if (!class_exists('ConnectionManager') || Configure::read('debug') < 2) {
return false;
}

Expand Down

0 comments on commit 42e13ed

Please sign in to comment.