Digging into CodeIgniter PHP Framework this afternoon, I saw a very funny thing.. FUN to me though I asked myself if the EllisLab Dev Team really forgot to remove the variable or it was from the guy that wrote that aspect of the code.
Open path/to/file/CodeIgniter/system/core/Loader.php
Code starting from line 232
public function model($model, $name = '', $db_conn = FALSE)
{
if (is_array($model))
{
foreach ($model as $babe)
{
$this->model($babe);
}
return;
}
if ($model == '')
{
return;
}
$path = '';
........
You can see where he had $model as $babe ..... Do you think he forgot to change this or was it intentional and he decided to make developers laugh ???
PHP, Python, NodeJS Developer
Aleksandar Andrijevic
Web developer
You have way too much free time! :)