select * from presslive.pages where filename=''+libraryName+'' and instance_id='56' and page_type='standard'
array(2) {
[0]=>
array(4) {
["file"]=>
string(44) "/data/web/presslive/www/execute/pcontent.php"
["line"]=>
int(466)
["function"]=>
string(8) "db_query"
["args"]=>
array(1) {
[0]=>
&string(108) "select * from presslive.pages where filename=''+libraryName+'' and instance_id='56' and page_type='standard'"
}
}
[1]=>
array(4) {
["file"]=>
string(41) "/data/web/presslive/www/execute/index.php"
["line"]=>
int(54)
["args"]=>
array(1) {
[0]=>
string(44) "/data/web/presslive/www/execute/pcontent.php"
}
["function"]=>
string(12) "require_once"
}
}
select * from presslive.pages where page_type='standard' and instance_id='56' order by filename like ''+libraryName+'%' desc, filename like '%'+libraryName+'%' desc, parent=-1 desc limit 0,1
array(2) {
[0]=>
array(4) {
["file"]=>
string(44) "/data/web/presslive/www/execute/pcontent.php"
["line"]=>
int(468)
["function"]=>
string(8) "db_query"
["args"]=>
array(1) {
[0]=>
&string(190) "select * from presslive.pages where page_type='standard' and instance_id='56' order by filename like ''+libraryName+'%' desc, filename like '%'+libraryName+'%' desc, parent=-1 desc limit 0,1"
}
}
[1]=>
array(4) {
["file"]=>
string(41) "/data/web/presslive/www/execute/index.php"
["line"]=>
int(54)
["args"]=>
array(1) {
[0]=>
string(44) "/data/web/presslive/www/execute/pcontent.php"
}
["function"]=>
string(12) "require_once"
}
}