Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
55da9053
Commit
55da9053
authored
Nov 11, 2007
by
bpssoft
Browse files
- Add comments to system.inc.php (PEAR) and cleanup wrong tabs
- Add some functionallity to MySQL class
parent
3eeed9bd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
TODO.txt
View file @
55da9053
...
...
@@ -73,6 +73,3 @@ General tasks
- Add, extend or modify comments in PEAR syntax so that they can be read with phpdocumentor.
- Add a function to prevent brute force password attacks to the login script. E.g. by
logging all login attempts and allowing only 5 logins every 15 minutes.
Task assigned to: BPSsoft
interface/lib/classes/db_mysql.inc.php
View file @
55da9053
...
...
@@ -217,10 +217,21 @@ class db
public
function
closeConn
()
{
if
(
$this
->
linkId
)
{
mysql_close
(
$this
->
linkId
);
return
true
;
}
else
{
return
false
;
}
}
public
function
freeResult
()
public
function
freeResult
(
$query
)
{
if
(
mysql_free_result
(
$query
))
{
return
true
;
}
else
{
return
false
;
}
}
public
function
delete
()
...
...
server/lib/classes/system.inc.php
View file @
55da9053
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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