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
|
||||
variables.php
|
||||
config.php
|
||||
|
||||
# Vim
|
||||
*.swp
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
// Script defining constants and variables used in the comics system
|
||||
require 'variables.php';
|
||||
// Config file
|
||||
require 'config.php';
|
||||
// Script containing global functions used by all scripts
|
||||
require 'functions.php';
|
||||
// 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.
|
||||
// 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']) ) {
|
||||
$_SESSION['compath'] = '/';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user