Remove hardcoded config dir in index.php
This commit is contained in:
parent
6b04dbec83
commit
5ad5e1f35e
|
@ -2,7 +2,8 @@
|
||||||
session_start();
|
session_start();
|
||||||
$_SESSION['isframed'] = 1;
|
$_SESSION['isframed'] = 1;
|
||||||
|
|
||||||
$CONFIG = include('/etc/rslight/rslight.inc.php');
|
include "common/config.inc.php";
|
||||||
|
$CONFIG = include($config_dir.'/rslight.inc.php');
|
||||||
|
|
||||||
if (isset($_REQUEST['content'])) {
|
if (isset($_REQUEST['content'])) {
|
||||||
$CONFIG['default_content']=$_REQUEST['content'];
|
$CONFIG['default_content']=$_REQUEST['content'];
|
||||||
|
|
Loading…
Reference in New Issue