Rename variables.php to config.php

This commit is contained in:
Junior 2026-02-15 20:24:46 -05:00
parent fb7725eb32
commit 4317dd1637
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -9,7 +9,7 @@ Thumbs.db
~$*
# The active config file copied from config-dist.php
variables.php
config.php
# Vim
*.swp

View File

@ -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'] = '/';
}