- In app_controller.php
<?php
class AppController extends Controller {
var $components = array('RequestHandler', 'Session');
var $helpers = array('Ajax', 'Form', 'Html', 'Javascript');
function checkSession()
{
echo "aaa";
}
}
?>
- In tasks_controller.php
class TasksController extends AppController {
var $name = "Tasks";
function beforeFilter() {
$this->checkSession();
}
}
In my computer, tasks_controller.php can access app_controller.php and
show "aaa", but when I test on another computer, tasks_controller.php
can not access app_controller.php ( not show "aaa" ) and blank page is
display
What should I do ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---