Skip to content

Commit

Permalink
fix includes require pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
firefly2442 committed Jan 20, 2012
1 parent e7934fb commit b1058f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion create.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

require_once("init.inc.php");
require_once("includes/init.inc.php");

?>

Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once("config.inc.php");
require_once("includes/checklogin.inc.php");


function recursiveDirectory($path = '.', $level = 0) {
Expand Down
4 changes: 3 additions & 1 deletion player.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

require_once("init.inc.php");
require_once("includes/checklogin.inc.php");

require_once("includes/init.inc.php");

$transcode_args = array();
foreach($_POST as $key=>$value){
Expand Down
5 changes: 4 additions & 1 deletion stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
*/


require_once("includes/checklogin.inc.php");


/* script execution settings */
set_time_limit(0);
ignore_user_abort(true); /* do not terminate script execution if disconnect */
Expand All @@ -30,7 +33,7 @@
header("Cache-Control: no-cache");
header("Pragma: no-cache");

require_once("init.inc.php");
require_once("includes/init.inc.php");

/* parse path arguments */
$args = array();
Expand Down

0 comments on commit b1058f5

Please sign in to comment.