File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ // Try to handle it with the upper level index.php. (it should know what to do.)
4+ if (file_exists (dirname (dirname (__FILE__ )) . '/index.php ' ))
5+ include (dirname (dirname (__FILE__ )) . '/index.php ' );
6+ else
7+ exit ;
8+
9+ ?>
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ // Try to handle it with the upper level index.php. (it should know what to do.)
4+ if (file_exists (dirname (dirname (__FILE__ )) . '/index.php ' ))
5+ include (dirname (dirname (__FILE__ )) . '/index.php ' );
6+ else
7+ exit ;
8+
9+ ?>
Original file line number Diff line number Diff line change @@ -1792,6 +1792,9 @@ function loadCacheAPIs()
17921792
17931793 foreach ($ api_classes as $ file_path => $ file_info )
17941794 {
1795+ if ($ file_path == 'index.php ' )
1796+ continue ;
1797+
17951798 require_once ($ apis_dir . '/ ' . $ file_path );
17961799
17971800 $ class_name = $ file_info ->getBasename ('.php ' );
You can’t perform that action at this time.
0 commit comments