Initial commit
This commit is contained in:
63
system/editable/constants.php
Normal file
63
system/editable/constants.php
Normal file
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
/**************************************/
|
||||
/**** SuperSmash Framework ****/
|
||||
/**** Created By SuperSmash ****/
|
||||
/**** Started on: 25-04-2012 ****/
|
||||
/**************************************/
|
||||
|
||||
// Please do not edit anything else then this file contents.
|
||||
// Editing anything else can and may cause harm to the SuperSmash framework !!!
|
||||
|
||||
// Uncomment these two lines to display errors
|
||||
// error_reporting(E_ALL);
|
||||
// ini_set("display_errors", 1);
|
||||
|
||||
/*************************************************/
|
||||
/* Set this variable to true if you want to have */
|
||||
/* an application chooser when people visit your */
|
||||
/* website. */
|
||||
/* */
|
||||
/* (The application choice will be stored in a */
|
||||
/* cookie named: changedPage) */
|
||||
/*************************************************/
|
||||
|
||||
// Show the applications chooser startup page //Default: true
|
||||
$applicationChooser = true;
|
||||
|
||||
/*
|
||||
|
||||
|
||||
/***************************************************/
|
||||
/* Set this variable to which application you would*/
|
||||
/* like to load as a default application. */
|
||||
/* Your website would automatically go to this */
|
||||
/* application and there is no way to choose */
|
||||
/* another application. */
|
||||
/* (Unless the applicationChooser is set to true) */
|
||||
/* */
|
||||
/* You can choose the application by specifying a */
|
||||
/* number. For example if: */
|
||||
/* the directory applications contain 4 apps named:*/
|
||||
/* Application A */
|
||||
/* Application B */
|
||||
/* Application C */
|
||||
/* Start */
|
||||
/* Then you can choose an application by entering */
|
||||
/* its application number: */
|
||||
/* 0 = Application A */
|
||||
/* 1 = Application B */
|
||||
/* 2 = Application C */
|
||||
/* 3 = Start */
|
||||
/* */
|
||||
/* All applications are ordered alfabetical */
|
||||
/***************************************************/
|
||||
|
||||
// Load application number // Default: 0
|
||||
$applicationNumber = 0;
|
||||
|
||||
// Here you can change the debug log filename // Default: debug.log
|
||||
$debugLog = "debug.log";
|
||||
|
||||
// Here you can change the error log filename // Default: error.log
|
||||
$errorLog = "error.log";
|
21
system/editable/languages/english/SuperSmash_errors.php
Normal file
21
system/editable/languages/english/SuperSmash_errors.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
if (!defined("SUPERSMASH_FRAMEWORK")){die("You cannot access this page directly!");}
|
||||
|
||||
return array(
|
||||
'autoLoad' => "Autoload failed to load class: %s",
|
||||
'view' => "Unable to locate the view file \"%s\". Please make sure a view page is created and is correctly named.",
|
||||
'no_array' => "Variable \$%s passed is a non-array format in method %s",
|
||||
'db_key_not_found' => "The database key was not found",
|
||||
'sessionTable' => "The session database does not exist<br>Please run the session SQL script",
|
||||
'invalidCookieName' => "Invalid cookie name!",
|
||||
'invalidTableName' => "Invalid table name!",
|
||||
'invalidExpirationTime.' => "Seconds till expiration must be a valid number.",
|
||||
'invalidSecondsTime' => "Seconds till expiration can not be zero or less. Enable session expiration when the browser closes instead.",
|
||||
'invalidExpirationOnClose' => "Expire on close must be either TRUE or FALSE.",
|
||||
'invalidSessionRenewalTimeNumber' => "Session renewal time must be a valid number.",
|
||||
'invalidSessionRenewalTime' => "Session renewal time can not be zero or less.",
|
||||
'invalidIPAddressFormat' => "The IP address must be a string similar to this: '192.168.10.200'",
|
||||
'invalidIPAddress' => "Invalid IP address.",
|
||||
'invalidSecureCookie' => "The secure cookie option must be either TRUE or FALSE.",
|
||||
);
|
25
system/editable/languages/english/page_errors.php
Normal file
25
system/editable/languages/english/page_errors.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
if (!defined("SUPERSMASH_FRAMEWORK")){die("You cannot access this page directly!");}
|
||||
|
||||
return array(
|
||||
'debugMessage' => "Message:",
|
||||
'debugFile' => "File that reports the error:",
|
||||
'debugLine' => "Line:",
|
||||
'debugTrace' => "Trace:",
|
||||
'debugClass' => "Class:",
|
||||
'debugFunction' => "Function:",
|
||||
'debugFunctionArguments' => "Function arguments:",
|
||||
'footerRendered' => "Page rendered in",
|
||||
'footerSeconds' => "seconds, using",
|
||||
|
||||
'notFoundTitle' => "The page you are looking for is not at this location",
|
||||
'notFoundMessage' => "The page you are looking for cannot be located. You may have mis-typed the URL, or the page was deleted.
|
||||
Please check your spelling and try again. If you feel you have reached this page in an error, please",
|
||||
'notFoundEmail' => "email us",
|
||||
'startPage' => "Return to index",
|
||||
'previousPage' => "Previous page",
|
||||
'notFoundErrorMessage' => "We are sorry for the inconvenience, but an unrecoverable error has occured. <br/ >
|
||||
If the problem persists, please",
|
||||
'errorMessage' => "Error message:",
|
||||
);
|
Reference in New Issue
Block a user