Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
16
application/helpers/general_helper.php
Normal file
16
application/helpers/general_helper.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
function getCSSPageMenuOpen($tree, $isMenu)
|
||||
{
|
||||
if (is_null($isMenu)) {
|
||||
if (get_instance()->uri->segment(2)) {
|
||||
if (in_array(get_instance()->uri->segment(2), $tree)) {
|
||||
return ' active';
|
||||
}
|
||||
} else if (in_array(get_instance()->uri->segment(1), $tree)) {
|
||||
return ' active';
|
||||
}
|
||||
} else if (in_array(get_instance()->uri->segment(1), $tree)) {
|
||||
return ' ' . ($isMenu ? 'menu-open' : 'active');
|
||||
}
|
||||
}
|
||||
11
application/helpers/index.html
Normal file
11
application/helpers/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user