From: Gustavo Martin Morcuende Date: Sun, 2 Dec 2012 21:12:40 +0000 (+0100) Subject: Custom web page error for users and companies. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=418b4cff285c273a2a53bd95a548b4b4d2c0b022;p=mobi%2F.git Custom web page error for users and companies. It does not work during development just for production environment. --- diff --git a/apps/companyfront/config/settings.yml b/apps/companyfront/config/settings.yml index f1642a6..59d99c6 100644 --- a/apps/companyfront/config/settings.yml +++ b/apps/companyfront/config/settings.yml @@ -42,3 +42,6 @@ all: secure_module: sfGuardAuth secure_action: secure + + error_404_module: customerrors + error_404_action: error404 diff --git a/apps/companyfront/modules/customerrors/actions/actions.class.php b/apps/companyfront/modules/customerrors/actions/actions.class.php new file mode 100644 index 0000000..23f3df8 --- /dev/null +++ b/apps/companyfront/modules/customerrors/actions/actions.class.php @@ -0,0 +1,20 @@ + 'page not found', 'size' => '48x48')) ?> +

Oops! Page Not Found

+

The server returned a 404 response.

+ + + + + + + + +
+ + + +
diff --git a/apps/userfront/config/settings.yml b/apps/userfront/config/settings.yml index 57a00ba..1fb1f4d 100644 --- a/apps/userfront/config/settings.yml +++ b/apps/userfront/config/settings.yml @@ -42,3 +42,6 @@ all: secure_module: sfGuardAuth secure_action: secure + + error_404_module: customerrors + error_404_action: error404 diff --git a/apps/userfront/modules/customerrors/actions/actions.class.php b/apps/userfront/modules/customerrors/actions/actions.class.php new file mode 100644 index 0000000..23f3df8 --- /dev/null +++ b/apps/userfront/modules/customerrors/actions/actions.class.php @@ -0,0 +1,20 @@ + 'page not found', 'size' => '48x48')) ?> +

Oops! Page Not Found

+

The server returned a 404 response.

+ + + + + + + + +
+ + + +