Roxen.git/
server/
base_server/
module.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-08-01
2001-08-01 17:57:05 by Per Hedbor <ph@opera.com>
8214e64aa1251804c35b90bd77c26514407681cd (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed error
Rev: server/base_server/module.pike:1.121
1:
// This file is part of Roxen WebServer. // Copyright © 1996 - 2001, Roxen IS.
-
// $Id: module.pike,v 1.
120
2001/08/01 17:
10
:
32
per Exp $
+
// $Id: module.pike,v 1.
121
2001/08/01 17:
57
:
05
per Exp $
#include <module_constants.h> #include <module.h>
411:
string res = hash(_my_configuration->name)->digits(36) + "_" + replace(sname(),"#","_") + name;
-
return catch(sql->query( "SELECT * FROM "+res+" LIMIT 1" ))?0:res;
+
return catch(
get_my_
sql
()
->query( "SELECT * FROM "+res+" LIMIT 1" ))?0:res;
}