Skip to content

Commit

Permalink
Added the modules to the include path.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjone72 authored and hjone72 committed Jul 4, 2016
1 parent 74a3b4e commit d36ae5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//Include all the files needed for PlexAuth
$path = __DIR__;
//Adds inc directory to includes. Ensure this actually adds the path to where your files are located. /var/www/PlexAuth/inc
set_include_path(get_include_path() . PATH_SEPARATOR . $path . ':' . $path . '/pages');
set_include_path(get_include_path() . PATH_SEPARATOR . $path . PATH_SEPARATOR . $path . '/pages' . PATH_SEPARATOR . $path . '/modules');
$ini_array = parse_ini_file($path."/config.ini.php"); //Config file that has configurations for site.
$GLOBALS['ini_array'] = $ini_array;
if (!isset($_SESSION)) {
Expand Down

0 comments on commit d36ae5f

Please sign in to comment.