forked from dogmatic69/cakephp_google_plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
google_app_controller.php
36 lines (34 loc) · 1006 Bytes
/
google_app_controller.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
App::import(
array(
'type' => 'File',
'name' => 'Google.GoogleConfig',
'file' => 'config'. DS .'setup.php'
)
);
/**
* Google App Controller class file.
*
* the google_appcontroller file, extends AppController
*
* Copyright (c) 2009 Carl Sutton ( dogmatic69 )
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright (c) 2009 Carl Sutton ( dogmatic69 )
* @link http://www.dogmatic.co.za
* @package google
* @subpackage google.controllers.google_app_controller
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
class GoogleAppController extends AppController
{
function beforeFilter()
{
parent::beforeFilter();
$GoogleConfig = new GoogleConfig();
}
}
?>