Skip to content
This repository
  • 3 commits
  • 3 files changed
  • 0 comments
  • 1 contributor
May 03, 2012
bluelovers public static function execute($controller = null, $action = null) 903bcc4
bluelovers define('DURA_PATH_DATA', DURA_TRUST_PATH . '/data'); define('DURA_XML…
…_PATH', DURA_PATH_DATA . '/xml'); (Step: 1)

git-Lazy Commit Each Change Script

Output:

Step: 1

[R ] renamed:

	trust_path/xml/.gitkeep -> trust_path/data/xml/.gitkeep
4fccf48
bluelovers define('DURA_PATH_DATA', DURA_TRUST_PATH . '/data'); define('DURA_XML…
…_PATH', DURA_PATH_DATA . '/xml'); (Step: 2)

git-Lazy Commit Each Change Script

Output:

Step: 2

[M ] modified:

	trust_path/setting.dist.php
cccd99c
16 dura/trust_path/Dura.php
@@ -85,10 +85,20 @@ function setLang($language = '')
85 85 self::$language = Dura_Model_Lang::getInstance()->catalog_idx;
86 86 }
87 87
88   - public static function execute()
  88 + public static function execute($controller = null, $action = null)
89 89 {
90   - $controller = self::request('controller', Dura::DEFAULT_CONTROLLER);
91   - $action = self::request('action', Dura::DEFAULT_ACTION);
  90 + if (!is_null($controller) || !is_null($action))
  91 + {
  92 +
  93 + }
  94 + else
  95 + {
  96 + $controller = self::request('controller');
  97 + $action = self::request('action');
  98 + }
  99 +
  100 + $controller = $controller ? $controller : Dura::DEFAULT_CONTROLLER;
  101 + $action = $action ? $action : Dura::DEFAULT_ACTION;
92 102
93 103 self::$Controller = self::putintoClassParts($controller);
94 104 self::$Action = self::putintoClassParts($action);
0  dura/trust_path/xml/.gitkeep → dura/trust_path/data/xml/.gitkeep
File renamed without changes
3  dura/trust_path/setting.dist.php
@@ -21,7 +21,8 @@
21 21 * Trust Path directory sould be put outside of Document Root.
22 22 */
23 23 define('DURA_TRUST_PATH', DURA_PATH . '/trust_path');
24   -define('DURA_XML_PATH', DURA_TRUST_PATH . '/xml');
  24 +define('DURA_PATH_DATA', DURA_TRUST_PATH . '/data');
  25 +define('DURA_XML_PATH', DURA_PATH_DATA . '/xml');
25 26 define('DURA_TEMPLATE_PATH', DURA_TRUST_PATH . '/template');
26 27
27 28 /**

No commit comments for this range

Something went wrong with that request. Please try again.