That's it. Thank you.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Custom-Library-Outside-vendor-Folder-tp4659685p4659696.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: fw-general@lists.zend.com
Info: http://framework.ze
No, it's here that the autoloader must be defined.
2013/4/11 stef
> Thank you all that helped. In the meantime I have Googled solution to
> change
> index.php like this:
>
> Zend\Loader\AutoloaderFactory::factory(
> array('Zend\Loader\StandardAutoloader' => array(
> 'nam
Thank you all that helped. In the meantime I have Googled solution to change
index.php like this:
Zend\Loader\AutoloaderFactory::factory(
array('Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
'MyNamespace => dirname(__DIR__) .
'/path_to
Hi,
Please look these files:
https://github.com/PierreRambaud/GotCms/blob/master/config/application.config.php
https://github.com/PierreRambaud/GotCms/blob/master/init_autoloader.php
There's autoloader that will load namespaces and module_paths will
determine the modules' folders.
Regards,
20
You can just edit your `init_autoload.php` to suit your needs.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/
On 10 April 2013 09:00, stef [via Zend Framework Community] <
ml-node+s634137n4659685...@n4.nabble.com> wrote:
> Is it possible to place custom library files, c
Definitely you called wrong class again below:
"Class 'Pixiebox\Resources\Whitelist\ListAcl' not found" that was not your
class, it was:
"Pixiebox\Resources\Acl\Whitelist as Whitelist"
That's my index.php:
chdir(dirname(__DIR__));
// Setup autoloading
include 'init_autoloader.php';
Zend\Loader\
Trollololololll
I had to do this:
'namespaces' => array(
'Pixiebox' => __DIR__ .'/vendor/Pixiebox',
)
especially the / before vendor/Pixiebox
- Original Message -
From: luk [via Zend Framework Community]
To: poashoas
Sent: Saturday, September 15, 2012 12:57 AM
Su
Still not working Class 'Pixiebox\Resources\Whitelist\ListAcl' not found
use Pixiebox\Resources\Acl\Whitelist,
Zend\Mvc\Controller\Plugin\AbstractPlugin;
class PermissionsAcl extends AbstractPlugin {
function blah($e) {
$blah = new Whitelist();
$foo = $blah->getWhitelist
The alias Whitelist in your example refers to the class
'Pixiebox\Resources\Acl', which doesn't exist. The class you've created is
'Pixiebox\Resources\Acl\/Whitelist/'. Change the alias and it will work, you
can drop the 'as Whitelist'.
--
View this message in context:
http://zend-framework-com