Rename variables.php to config.php
This commit is contained in:
parent
fb7725eb32
commit
4317dd1637
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -9,7 +9,7 @@ Thumbs.db
|
||||||
~$*
|
~$*
|
||||||
|
|
||||||
# The active config file copied from config-dist.php
|
# The active config file copied from config-dist.php
|
||||||
variables.php
|
config.php
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
*.swp
|
*.swp
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Script defining constants and variables used in the comics system
|
// Config file
|
||||||
require 'variables.php';
|
require 'config.php';
|
||||||
// Script containing global functions used by all scripts
|
// Script containing global functions used by all scripts
|
||||||
require 'functions.php';
|
require 'functions.php';
|
||||||
// Script containing the "require_login() function"
|
// Script containing the "require_login() function"
|
||||||
|
|
@ -21,7 +21,7 @@ if ( php_sapi_name() != "cli" ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This session variable is set to the current browsing folder.
|
// This session variable is set to the current browsing folder.
|
||||||
// It is relative to the COMICSDIR constant defined in variables.php
|
// It is relative to the COMICSDIR constant defined in config.php
|
||||||
if ( !isset($_SESSION['compath']) ) {
|
if ( !isset($_SESSION['compath']) ) {
|
||||||
$_SESSION['compath'] = '/';
|
$_SESSION['compath'] = '/';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user