Added in code to parse the submitted command for tokens

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4614 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
chartjes 2007-03-15 01:41:18 +00:00
parent 32887a68ec
commit c07021b2bc

View file

@ -31,7 +31,8 @@ class Console extends ConsoleScript {
} }
break; break;
default: default:
print_r(eval('return ' . $command)); $command = "<?php " . $command . "?>";
$tokens = token_get_all($command);
break; break;
} }
} }