03.17
php
saved
jben_mbp
Note
jben_mbp did not leave a note
jben_mbp did not leave a note
- <?php
- class AppController extends Controller
- {
- function beforeFilter()
- {
- // check if we're using the pages controller
- if ($this->name = 'Pages')
- {
- // get args
- // check if current page is in locked array
- {
- $this->Auth->deny('display');
- }
- }
- }
- }
- ?>
Parsed in 0.025 seconds, using GeSHi 1.0.7.14