1 | <?php |
||
2 | /*************************************************************************** |
||
3 | * config.php |
||
4 | * ----------------------- |
||
5 | * begin : Sunday May 23 2004 |
||
6 | * copyright : (C) 2003 Atari Legend |
||
7 | * email : [email protected] |
||
8 | * |
||
9 | * Id: config.php,v 0.20 2015/08/15 17:56 ST Graveyard |
||
10 | * |
||
11 | ***************************************************************************/ |
||
12 | |||
13 | //*************************************************************** |
||
14 | //This is the config file for the project |
||
15 | //*************************************************************** |
||
16 | |||
17 | //*************************************************************** |
||
18 | // Set overall variables |
||
19 | //*************************************************************** |
||
20 | |||
21 | // Set timezone |
||
22 | date_default_timezone_set('UTC'); |
||
23 | |||
24 | // Report all PHP errors |
||
25 | error_reporting(-1); |
||
26 | |||
27 | //Is the site online or not - we use this for updates |
||
28 | define("SITESTATUS", "online"); |
||
29 | |||
30 | // This is the url of the site |
||
31 | define("SITEHOST", "www.atarilegend.com"); |
||
32 | define("SITEURL", "http://".SITEHOST."/"); |
||
33 | |||
34 | // The URL of the site as requested in the browser, without a trailing slash |
||
35 | // Useful to generate absolute URLs that will work both |
||
36 | // for 'localhost', 'dev.stonish.net' and 'www.atarilegend.com' |
||
37 | define("REQUEST_SITEURL", $_SERVER["REQUEST_SCHEME"]."://".$_SERVER["HTTP_HOST"]); |
||
38 | |||
39 | //*************************************************************** |
||
40 | // Setup the Smarty Templating framework |
||
41 | //*************************************************************** |
||
42 | |||
43 | $smarty = new Smarty; |
||
0 ignored issues
–
show
|
|||
44 | |||
45 | $smarty->template_dir = '../../../themes/templates/'; |
||
46 | $smarty->compile_dir = '../../../php/temp/smarty/templates_c/'; |
||
47 | $smarty->config_dir = '../../../php/temp/smarty/configs/'; |
||
48 | $smarty->cache_dir = '../../../php/temp/smarty/cache/'; |
||
49 | $smarty->addPluginsDir('../../../php/lib/smarty_plugins/'); |
||
50 | |||
51 | //*************************************************************** |
||
52 | // Some configs for the user management |
||
53 | //*************************************************************** |
||
54 | |||
55 | define("CAN_REGISTER", "any"); |
||
56 | define("DEFAULT_ROLE", "member"); |
||
57 | |||
58 | define("SECURE", false); // FOR DEVELOPMENT ONLY!!!! |
||
59 | |||
60 | //*************************************************************** |
||
61 | // Mail server variables -- change these is we change server! |
||
62 | //*************************************************************** |
||
63 | |||
64 | // this is the data used when creating emails regarding reset pwd and registration |
||
65 | $pwd_reset_link = "http://www.atarilegend.com/php/main/front/front.php?action=new_pwd&q="; |
||
66 | $pwd_reset_from = '[email protected]'; |
||
67 | $pwd_reset_reply = '[email protected]'; |
||
68 | |||
69 | $confirm_account_link = "http://www.atarilegend.com/php/common/login/db_register.php?action=confirm"; |
||
70 | |||
71 | //*************************************************************** |
||
72 | // Setup filepath variables |
||
73 | //*************************************************************** |
||
74 | |||
75 | // database dumps |
||
76 | $database_dumps_path="../../data/database-dumps/"; |
||
77 | |||
78 | //articles |
||
79 | $article_screenshot_path="../../data/images/article_screenshots/"; |
||
80 | $article_screenshot_save_path="../../../data/images/article_screenshots/"; |
||
81 | |||
82 | //company |
||
83 | $company_screenshot_path="../../data/images/company_logos/"; |
||
84 | $company_screenshot_save_path="../../../data/images/company_logos/"; |
||
85 | $individual_screenshot_path="../../data/images/individual_screenshots/"; |
||
86 | $individual_screenshot_save_path="../../../data/images/individual_screenshots/"; |
||
87 | |||
88 | //games |
||
89 | $game_boxscan_path="../../data/images/game_boxscans/"; |
||
90 | $game_boxscan_save_path="../../../data/images/game_boxscans/"; |
||
91 | $game_file_path="../../../data/zips/games/"; |
||
92 | $game_file_temp_path="../../../data/zips/temp/"; |
||
93 | $game_gallery_path="../../data/images/game_gallery/"; |
||
94 | $game_screenshot_path="../../data/images/game_screenshots/"; |
||
95 | $game_screenshot_save_path="../../../data/images/game_screenshots/"; |
||
96 | $game_submit_screenshot_path="../../data/images/game_submit_screenshots/"; |
||
97 | $game_submit_screenshot_save_path="../../../data/images/game_submit_screenshots/"; |
||
98 | $game_fact_screenshot_path="../../data/images/game_fact_screenshots/"; |
||
99 | $game_fact_screenshot_save_path="../../../data/images/game_fact_screenshots/"; |
||
100 | $music_game_path="../../data/music/games/"; |
||
101 | $music_game_save_path="../../../data/music/games/"; |
||
102 | |||
103 | //releases |
||
104 | $game_release_scan_path="../../data/images/game_release_scans/"; |
||
105 | $game_release_scan_save_path="../../../data/images/game_release_scans/"; |
||
106 | |||
107 | //interview |
||
108 | $interview_screenshot_path="../../data/images/interview_screenshots/"; |
||
109 | $interview_screenshot_save_path="../../../data/images/interview_screenshots/"; |
||
110 | |||
111 | //menu |
||
112 | $menu_screenshot_path="../../data/images/menu_screenshots/"; |
||
113 | $menu_screenshot_save_path="../../../data/images/menu_screenshots/"; |
||
114 | $menu_file_path="../../../data/zips/menus/"; |
||
115 | $menu_file_temp_path="../../../data/zips/temp/"; |
||
116 | |||
117 | //news |
||
118 | $news_images_path="../../data/images/news_images/"; |
||
119 | $news_images_save_path="../../../data/images/news_images/"; |
||
120 | |||
121 | //links |
||
122 | $website_image_path="../../data/images/website_images/"; |
||
123 | $website_image_path="../../data/images/website_images/"; |
||
124 | $website_image_save_path="../../../data/images/website_images/"; |
||
125 | |||
126 | //trivia |
||
127 | $trivia_screenshot_path="../../data/images/trivia_screens/"; |
||
128 | $spotlight_screenshot_path="../../data/images/spotlight_screens/"; |
||
129 | $spotlight_screenshot_save_path="../../../data/images/spotlight_screens/"; |
||
130 | |||
131 | //demos |
||
132 | $demo_screenshot_path="../../data/images/demo_screenshots/"; |
||
133 | $demo_file_path="../../data/zips/demos/"; |
||
134 | $demo_file_temp_path="../../data/zips/temp/"; |
||
135 | $music_demo_path="../../data/music/demos/"; |
||
136 | |||
137 | //Crews |
||
138 | $crew_logo_path="../../data/images/crew_logos/"; |
||
139 | $crew_logo_save_path="../../../data/images/crew_logos/"; |
||
140 | |||
141 | //magazine |
||
142 | $magazine_scan_path="../../data/images/magazine_scans/"; |
||
143 | |||
144 | //users |
||
145 | $user_avatar_path="../../data/images/user_avatars/"; |
||
146 | $user_avatar_save_path="../../../data/images/user_avatars/"; |
||
147 | |||
148 | //Dump |
||
149 | $media_scan_path="../../data/images/media_scans/"; |
||
150 | $media_scan_save_path="../../../data/images/media_scans/"; |
||
151 | |||
152 | // Include environment-specific settings |
||
153 | require('local_settings.php'); |
||
154 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths