Skip to content

Commit

Permalink
namespace fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Jul 20, 2017
1 parent bbdd5e0 commit 52b2603
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/crud/make_cruds.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?php
require_once __DIR__.'/../../include/functions.inc.php';
add_js('bootstrap');
require_once INCLUDE_ROOT.'/rendering/class.crud.php';
require_once INCLUDE_ROOT.'/rendering/class.Crud.php';
$cmd = 'ls ' . INCLUDE_ROOT . '/forms/*json;';
$files = explode("\n", trim(`$cmd`));
$function_req = '';
Expand Down
2 changes: 1 addition & 1 deletion src/crud/crud_dns_editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @return void
*/
function crud_dns_editor() {
function_requirements('class.crud');
function_requirements('class.Crud');
$domain_id = (int)$GLOBALS['tf']->variables->request['id'];
crud::init("select * from records where domain_id='{$domain_id}'", 'pdns')
->set_title('DNS Editor')
Expand Down
2 changes: 1 addition & 1 deletion src/crud/same_domain_accounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @return void
*/
function same_domain_accounts() {
function_requirements('class.crud');
function_requirements('class.Crud');
$id = (int)$GLOBALS['tf']->variables->request['id'];
crud::init("select account_id,account_lid,account_status from accounts where account_lid like (select concat('%',substring(account_lid, locate('@', account_lid))) from accounts where account_id={$id})")
->set_title("Accounts matching the @domain.com of client {$id}")
Expand Down

0 comments on commit 52b2603

Please sign in to comment.