changed git call from https to git readonly
[atutor.git] / mods / cpref_switch / module.php
1 <?php
2 /*******
3  * doesn't allow this file to be loaded with a browser.
4  */
5 if (!defined('AT_INCLUDE_PATH')) { exit; }
6
7 /******
8  * this file must only be included within a Module obj
9  */
10 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }
11
12 /*******
13  * create a side menu box/stack.
14  */
15 $this->_stacks['cpref_switch'] = array('title_var'=>'cpref_switch', 'file'=>dirname(__FILE__).'/side_menu.inc.php');
16
17 global $_custom_css, $_base_path;
18
19 $_custom_css = $_base_path . 'mods/cpref_switch/module.css'; // use a custom stylesheet
20
21 ?>