Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
476e56c6
Commit
476e56c6
authored
Aug 18, 2007
by
pedro_morgan
Browse files
Trying to silence e_NOTICE warnings
parent
5fcaec01
Changes
2
Show whitespace changes
Inline
Side-by-side
interface/lib/classes/tpl_ini.inc.php
View file @
476e56c6
...
...
@@ -85,8 +85,8 @@ if (!defined('vlibIniClassLoaded')) {
/* the following are only used by the vlibTemplateCache class. */
'CACHE_DIRECTORY'
=>
$conf
[
"
template
"
][
"
cache_dir
"
],
// TODO: triggers a notice as its not set
'CACHE_DIRECTORY'
=>
$conf
[
'
template
'
][
'
cache_dir
'
],
// Directory where the cached filesystem
// will be set up (full path, and must be writable)
// '/' or '\' off the end of the directory.
...
...
interface/lib/config.inc.php
View file @
476e56c6
...
...
@@ -27,21 +27,17 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
Header
(
"
Pragma: no-cache
"
);
Header
(
"
Cache-Control: no-store, no-cache, max-age=0, must-revalidate
"
);
Header
(
"
Content-Type: text/html
"
);
Header
(
'
Pragma: no-cache
'
);
Header
(
'
Cache-Control: no-store, no-cache, max-age=0, must-revalidate
'
);
Header
(
'
Content-Type: text/html
'
);
ini_set
(
'register_globals'
,
0
);
$conf
[
"app_title"
]
=
"ISPConfig"
;
$conf
[
"app_version"
]
=
"3.0.0"
;
$conf
[
"modules_available"
]
=
"admin,mail,sites,monitor,client,dns"
;
/*
Database Settings
*/
//** Key paramaters
$conf
[
'app_title'
]
=
'ISPConfig'
;
$conf
[
'app_version'
]
=
'3.0.0'
;
$conf
[
'modules_available'
]
=
'admin,mail,sites,monitor,client,dns'
;
//** Database Settings
$conf
[
"db_type"
]
=
'mysql'
;
$conf
[
"db_host"
]
=
'localhost'
;
$conf
[
"db_database"
]
=
'ispconfig3'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment