C:\xampp\htdocs\landing\wp-content\plugins\totalpoll\env.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
defined'ABSPATH' ) && exit();


// Uploads path
$upload wp_upload_dir();

// TotalPoll environment
return apply_filters(
    
'totalpoll/filters/environment',
    array(
        
'name'           => 'TotalPoll',
        
'version'        => '4.1.1',
        
'versions'       => array(
            
'wp'    => $GLOBALS['wp_version'],
            
'php'   => PHP_VERSION,
            
'mysql' => $GLOBALS['wpdb']->db_version(),
        ),
        
'textdomain'     => 'totalpoll',
        
'domain'         => $_SERVER['SERVER_NAME'],
        
'root'           => TOTALPOLL_ROOT,
        
'path'           => plugin_dir_pathTOTALPOLL_ROOT ),
        
'url'            => plugin_dir_urlTOTALPOLL_ROOT ),
        
'basename'       => plugin_basenameTOTALPOLL_ROOT ),
        
'rest-namespace' => 'totalpoll/v4',
        
'namespace'      => 'TotalPoll',
        
'dirname'        => dirnameplugin_basenameTOTALPOLL_ROOT ) ),
        
'cache'          => array(
            
'path' => WP_CONTENT_DIR '/cache/totalpoll/',
            
'url'  => content_url'/cache/totalpoll/' ),
        ),
        
'slug'           => 'totalpoll',
        
'prefix'         => 'totalpoll_',
        
'short-prefix'   => 'tp_',
        
'options-key'    => 'totalpoll_options_repository',
        
'db'             => array(
            
'version'    => '400',
            
'option-key' => 'totalpoll_db_version',
            
'tables'     => array(
                
'log'     => $GLOBALS['wpdb']->prefix 'totalpoll_log',
                
'votes'   => $GLOBALS['wpdb']->prefix 'totalpoll_votes',
                
'entries' => $GLOBALS['wpdb']->prefix 'totalpoll_entries',
            ),
            
'prefix'     => (string) $GLOBALS['wpdb']->prefix,
            
'charset'    => (string) $GLOBALS['wpdb']->get_charset_collate(),
        ),
        
'api'            => array(
            
'update'             => 'https://totalsuite.net/api/v1/products/totalpoll/update/',
            
'store'              => 'https://totalsuite.net/api/v1/products/totalpoll/store/{{license}}/',
            
'activation'         => 'https://totalsuite.net/api/v1/products/totalpoll/activate/',
            
'check-access-token' => 'https://totalsuite.net/api/v1/users/check/',
        ),
        
'links'          => array(
            
'activation'     => admin_url'edit.php?post_type=poll&page=dashboard&tab=dashboard>activation' ),
            
'my-account'     => admin_url'edit.php?post_type=poll&page=dashboard&tab=dashboard>my-account' ),
            
'upgrade-to-pro' => admin_url'edit.php?post_type=poll&page=upgrade-to-pro' ),
            
'signin-account' => 'https://totalsuite.net/ext/auth/signin',
            
'changelog'      => 'https://totalsuite.net/product/totalpoll/changelog/#version-4.1.0',
            
'website'        => 'https://totalsuite.net/product/totalpoll/',
            
'support'        => 'https://totalsuite.net/support/',
            
'customization'  => 'https://totalsuite.net/services/new/?department=25',
            
'translate'      => 'https://totalsuite.net/translate/',
            
'search'         => 'https://totalsuite.net/search/',
            
'forums'         => 'https://totalsuite.net/forums/',
            
'totalsuite'     => 'https://totalsuite.net/',
            
'subscribe'      => 'https://subscribe.misqtech.com/totalsuite/',
            
'twitter'        => 'https://twitter.com/totalsuite',
            
'facebook'       => 'https://fb.me/totalsuite',
            
'youtube'        => 'https://www.youtube.com/channel/UCp44ZQMpZhBB6chpKWoeEOw/',
        ),
        
'requirements'   => array(
            
'wp'    => '4.6',
            
'php'   => '5.5',
            
'mysql' => '5.5',
        ),
        
'recommended'    => array(
            
'wp'    => '5.0',
            
'php'   => '7.0',
            
'mysql' => '8.0',
        ),
        
'autoload'       => array(
            
'loader' => dirnameTOTALPOLL_ROOT ) . '/vendor/autoload.php',
            
'psr4'   => array(
                
"TotalPoll\\Modules\\Templates\\"  => array(
                    
trailingslashit$upload['basedir'] . '/totalpoll/templates/' ),
                    
dirnameTOTALPOLL_ROOT ) . '/modules/templates',
                ),
                
"TotalPoll\\Modules\\Extensions\\" => array(
                    
trailingslashit$upload['basedir'] . '/totalpoll/extensions/' ),
                    
dirnameTOTALPOLL_ROOT ) . '/modules/extensions',
                ),
            ),
        ),
    )
);
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586