Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

enhancement: Slug Behaviour #10

@majic3

Description

@majic3

perhaps there is an update availabel to this behavior

the followiing code:
require_once APP . 'app_helper.php';

(I have moved this line to the private getSlug method seems to have no adverse effects)

means that when using models within shell/tasks cause output errors, moving the line above makes models within wf work within shells/tasks

perhaps
if (!class_exists('AppHelper')) {
App::import('Core', 'AppHelper', false);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions