Welcome Guest, Not a member yet? Register   Sign In
Loading custom library
#2

[eluser]scornaky[/eluser]
Check:
file name it is in libraries folder
filename is BlogUtilities.php
class name is BlogUtilities

Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');


class BlogUtilities
{

public function test()
{
    echo "time now".time();
}

}

call
Code:
$this->load->library('BlogUtilities');
$this->blogutilities->test();


Messages In This Thread
Loading custom library - by El Forum - 10-09-2013, 05:23 AM
Loading custom library - by El Forum - 10-09-2013, 05:31 AM
Loading custom library - by El Forum - 10-09-2013, 05:48 AM
Loading custom library - by El Forum - 10-09-2013, 05:55 AM
Loading custom library - by El Forum - 10-09-2013, 06:09 AM
Loading custom library - by El Forum - 10-09-2013, 06:17 AM
Loading custom library - by El Forum - 10-09-2013, 06:22 AM
Loading custom library - by El Forum - 10-09-2013, 06:29 AM
Loading custom library - by El Forum - 10-09-2013, 06:37 AM
Loading custom library - by El Forum - 10-09-2013, 06:43 AM
Loading custom library - by El Forum - 10-09-2013, 06:44 AM
Loading custom library - by El Forum - 10-09-2013, 06:50 AM
Loading custom library - by El Forum - 10-09-2013, 07:37 AM
Loading custom library - by El Forum - 10-09-2013, 09:06 AM
Loading custom library - by El Forum - 10-09-2013, 10:02 AM
Loading custom library - by El Forum - 10-09-2013, 11:18 AM
Loading custom library - by El Forum - 10-09-2013, 01:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB