File: modules.php.MOD

package info (click to toggle)
gallery 1.5.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 26,712 kB
  • ctags: 6,567
  • sloc: php: 33,824; sh: 446; xml: 96; makefile: 88; perl: 61
file content (53 lines) | stat: -rw-r--r-- 1,353 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
##############################################################
## MOD Title: mod_fix_gallery_popups_7.x
## MOD Author: Jens Tkotz <jens@peino.de>
## MOD Description: ---
## MOD Version: 7.x.x
##
## Installation Level: Easy
## Installation Time: ~5 Minutes
## Files To Edit:
##               modules.php
##
## Included Files: n/a
############################################################## 

#
#-----[ OPEN ]------------------------------------------
#
	modules.php

#
#-----[ FIND ]------------------------------------------
#
if ($view == 3 AND paid()) {
                                $modpath .= "modules/$name/$file.php";
                        if (file_exists($modpath)) {
                                include($modpath);
                        } else {
                                die ("Sorry, such file doesn't exist...");
                                }
                    } else { 
#
#-----[ AFTER, ADD ]------------------------------------------
#
                        if ($view != 0) { 



#
#-----[ FIND ]------------------------------------------
#

                                include("footer.php");
                                die();
#
#-----[ AFTER, ADD ]------------------------------------------
#
                        } 


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM