mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
updating basics, closes #3397 and adds a change of cake-debug css for 2964
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5833 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b584fe28c0
commit
c4a4fec745
1 changed files with 2 additions and 2 deletions
|
@ -728,7 +728,7 @@
|
||||||
*
|
*
|
||||||
* @param string $name Filename without the .php part.
|
* @param string $name Filename without the .php part.
|
||||||
*/
|
*/
|
||||||
function vendor($name) {
|
function vendor() {
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
$c = func_num_args();
|
$c = func_num_args();
|
||||||
|
|
||||||
|
@ -771,7 +771,7 @@
|
||||||
$calledFrom = debug_backtrace();
|
$calledFrom = debug_backtrace();
|
||||||
print "<strong>".substr(r(ROOT, "", $calledFrom[0]['file']), 1)."</strong> (line <strong>".$calledFrom[0]['line']."</strong>)";
|
print "<strong>".substr(r(ROOT, "", $calledFrom[0]['file']), 1)."</strong> (line <strong>".$calledFrom[0]['line']."</strong>)";
|
||||||
}
|
}
|
||||||
print "\n<pre class=\"cake_debug\">\n";
|
print "\n<pre class=\"cake-debug\">\n";
|
||||||
ob_start();
|
ob_start();
|
||||||
print_r($var);
|
print_r($var);
|
||||||
$var = ob_get_clean();
|
$var = ob_get_clean();
|
||||||
|
|
Loading…
Add table
Reference in a new issue