Show const.Options.php syntax highlighted
<?php
/*
This file is part of DT. DT is web application written for the
Albanian branch of Deloitte & Touche company.
Copyright (C) 2002 Dashamir Hoxha, dashohoxha@users.sf.net
DT is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your
option) any later version.
DT is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with DT; if not, write to the Free Software Foundation, Inc., 59
Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
Copyright 2001,2002,2003 Dashamir Hoxha, dashohoxha@users.sourceforge.net
This file is part of phpWebApp.
phpWebApp is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
phpWebApp is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with phpWebApp; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* The constants defined in this file change the behaviour of the
* framework and the application. You can change the values of the
* constants according to the instructions given in comments, or add
* new constants that you use in your application.
*
* @package sample-application
*/
/**
* This is the first page of the application. The framework looks
* for it at the template folder (specified by TPL_PATH).
*/
define("FIRSTPAGE", "login/login.html");
/**
* if this constant is true, the framework will load the DB component
* and will open a default connection with the db specified in the
* file 'config/const.DB.php'
*/
define("USES_DB", true);
/**
* this constant defines the type of DB that the application uses
* it can be: "MySQL", "Oracle", "ODBC", "ProgreSQL", etc.
* (except "MySQL", the others are not implemented yet)
*/
define("DB_TYPE", "MySQL");
/**
* This constant is the value returned by the framework
* for a DB variable that has a NULL value. It can be
* "", "NULL", NULL, etc.
*/
define("NULL_VALUE", "NULL");
/**
* This constant sets the format of the error message that is displayed
* when a {{variable}} is not found. 'var_name' is replaced by
* the actual variable name. Examples: "'var_name' is not defined",
* "", "undefined", etc. It cannot contain "{{var_name}}" inside.
*/
define("VAR_NOT_FOUND", "{var_name}");
/**
* When this constant is true, then the CGI vars are displayed
* at the URL window of the browser. See also SHOW_EXTERNAL_LINK
* at const.Debug.php.
*/
define("DISPLAY_CGI_VARS", false);
/**
* When this constant is true, then the application provides
* an interface for setting the current date of the application
* in order to test the application for a long period of time.
*/
define("TEST", true);
//etc.
?>
See more files for this project here