53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
//
 | 
						|
// This is the session name. Set it to whatever you want.
 | 
						|
//
 | 
						|
define('SESSIONCOMICS', 'JackpotGeneric');
 | 
						|
 | 
						|
//
 | 
						|
// The folder under which your comics are stored (no trailing slash)
 | 
						|
//
 | 
						|
define('COMICSDIR', '/storage/Comics');
 | 
						|
 | 
						|
//
 | 
						|
// The folder where the thumbnails for folders and comics get generated.
 | 
						|
// This folder is expected to be in the same folder as the project.
 | 
						|
// This folder must be writable by the web server.
 | 
						|
//
 | 
						|
define('THUMBSDIR', 'thumbs');
 | 
						|
 | 
						|
//
 | 
						|
// The folder where the comics get extracted for vieweing.
 | 
						|
// This folder is expected to be in the same folder as the project.
 | 
						|
// This folder must be writable by the web server.
 | 
						|
//
 | 
						|
define('EXTRACTSDIR', 'comics');
 | 
						|
 | 
						|
//
 | 
						|
// Whether the system will display "adult" comics (i.e. PG-13+)
 | 
						|
//
 | 
						|
define('ADULTMODE', false);
 | 
						|
 | 
						|
//
 | 
						|
// Database information for tracking last read page
 | 
						|
//
 | 
						|
define('DBHOST', 'localhost');
 | 
						|
define('DBUSER', 'comics');
 | 
						|
define('DBPASS', 'comics');
 | 
						|
define('DBNAME', 'comics');
 | 
						|
 | 
						|
//
 | 
						|
// These are some variables used for development and debugging.
 | 
						|
// They can be safely ignored.
 | 
						|
//
 | 
						|
define('DEBUG_ALL', false);
 | 
						|
define('DEBUG_SHOWCOMICAJAX', false);
 | 
						|
 | 
						|
//
 | 
						|
// Constants
 | 
						|
//
 | 
						|
define('SORTBYNAME', "Name");
 | 
						|
define('SORTBYDATE', "Date");
 | 
						|
define('SORTBYREAD', "Read");
 |