Permalink
Browse files

edit image and delete image

  • Loading branch information...
1 parent 059cdd7 commit f02ff83d391c58167e59c0cb48e0c6e8f8ac2594 futura-creative committed Feb 20, 2013
@@ -48,16 +48,18 @@ public function add(){
$this->request->data['Ad']['issue_date'] = date('y-m-d');
$server_current_time = time();
$this->request->data['Ad']['issue_time'] = date("H:i:s",$server_current_time);
- if($this->request->data['Ad']['image']['tmp_name']!=""){
- $this->request->data['Ad']['image'] = ($this->Ad->find('count')+1).".jpg";
- }
- else{
- $this->request->data['Ad']['image'] = 'default.jpg';
- }
+ $this->request->data['Ad']['image'] = "";
$this->Ad->set($this->request->data);
- $filePath = WWW_ROOT.DS."files".DS.$this->request->data['Ad']['image'];
if($this->Ad->validates()){
if($this->Ad->save()){
+ if($image['tmp_name']!=""){
+ $this->request->data['Ad']['image'] = $this->Ad->id.".jpg";
+ }
+ else{
+ $this->request->data['Ad']['image'] = 'default.jpg';
+ }
+ $filePath = WWW_ROOT.DS."files".DS.$this->request->data['Ad']['image'];
+ $this->Ad->updateAll(array('Ad.image'=>"'".$this->request->data['Ad']['image']."'"),array('Ad.id'=>$this->Ad->id));
if($image!=null)move_uploaded_file($image['tmp_name'],$filePath);
$this->set('ads',$this->Ad->findById($this->Ad->id));
$this->set('user',$this->Auth->user());
@@ -118,6 +120,11 @@ public function delete(){
$id = $this->request->data['id'];
$this->autoRender = False;
$this->autoLayout = False;
+ $ads = $this->Ad->findById($id);
+ if($ads['Ad']['image']!="default.jpg"){
+ $filePath = WWW_ROOT.DS."files".DS.$id.".jpg";
+ unlink($filePath);
+ }
if($this->Ad->delete($id)){
$message = array("status"=>1);
echo json_encode($message);
@@ -134,12 +141,22 @@ public function edit(){
$this->autoLayout = False;
$this->autoRender = False;
if(isset($this->request->data['Ad'])){
- if($this->Ad->updateAll(
- array(
+ $data = array(
"Ad.ads_title"=>"'".$this->request->data['Ad']['ads_title']."'",
"Ad.category_id"=>$this->request->data['Ad']['category_id'],
"Ad.ads_body"=>"'".$this->request->data['Ad']['ads_body']."'"
- ),
+ );
+ $filePath = WWW_ROOT.DS."files".DS.$this->request->data['Ad']['id'].".jpg";
+ if($this->request->data['Ad']['image']['tmp_name']!=""){
+ if(file_exists($filePath)){
+ unlink($filePath);
+ }
+ move_uploaded_file($this->request->data['Ad']['image']['tmp_name'], $filePath);
+ $data["Ad.image"]="'".$this->request->data['Ad']['id'].".jpg'";
+ }
+ if($this->Ad->updateAll(
+ $data
+ ,
array("Ad.id"=>$this->request->data['Ad']['id'])
)){
$message = array("status"=>1);
View
@@ -13,7 +13,7 @@
<div class="menu-ads">
<?= $this->Html->link('hapus',array("controller"=>"ads","action"=>"delete"),array('class'=>'delete-link','aid'=>hash("sha256",rand(1000000,1000000000000000000000000000000000)),'ad'=>$ads['Ad']['id'])); ?>
|
- <?= $this->Html->link('edit',array("controller"=>"ads","action"=>"edit"),array('class'=>'edit-link','aid'=>hash("sha256",rand(1000000,1000000000000000000000000000000000)),'ad'=>$ad['Ad']['id'])); ?>
+ <?= $this->Html->link('edit',array("controller"=>"ads","action"=>"edit"),array('class'=>'edit-link','aid'=>hash("sha256",rand(1000000,1000000000000000000000000000000000)),'ad'=>$ads['Ad']['id'])); ?>
</div>
<?php endif; ?>
</div>
View
@@ -61,6 +61,14 @@
function handleEditAds(response){
if(response.status == 1){
$("#black-layer").remove();
+ image = $(".edit-mark>.Ads-image>img").attr("src");
+ image = image.split("/");
+ newImage = "";
+ for(var i=1;i<(image.length)-1;i++){
+ newImage +="/"+image[i];
+ }
+ newImage +="/"+response['Ad']['image'] + "?"+new Date().getTime();
+ $(".edit-mark>.Ads-image>img").attr("src",newImage);
$(".edit-mark>.Ads-content>h2").text(response['Ad']['ads_title']);
$(".edit-mark>.Ads-content>p").text(response['Ad']['ads_body']);
$(".edit-mark").removeClass("edit-mark");
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:10:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:9:"ads_title";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:40;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:8:"ads_body";a:6:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:11:"category_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;}s:7:"user_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;}s:7:"city_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;}s:8:"state_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;}s:10:"issue_date";a:4:{s:4:"type";s:4:"date";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:10:"issue_time";a:4:{s:4:"type";s:4:"time";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:5:"image";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:100;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:2:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;s:3:"key";s:7:"primary";}s:5:"cname";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:40;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:3:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;s:3:"key";s:7:"primary";}s:5:"cname";a:6:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:100;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:5:"state";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:3;}}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:5:{i:0;s:3:"ads";i:1;s:10:"categories";i:2;s:6:"cities";i:3;s:6:"states";i:4;s:5:"users";}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:2:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;s:3:"key";s:7:"primary";}s:5:"sname";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:30;s:7:"collate";s:15:"utf8_general_ci";s:7:"charset";s:4:"utf8";}}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:14:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:10:"first_name";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:30;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:9:"last_name";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:30;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:8:"username";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:40;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:8:"password";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:40;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:13:"jenis_kelamin";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:1;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:9:"tgl_lahir";a:4:{s:4:"type";s:4:"date";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:6:"alamat";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:5:"state";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;}s:4:"city";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:4;}s:9:"handphone";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:12;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:17:"security_question";a:6:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:15:"security_answer";a:6:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}s:6:"status";a:6:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"1";s:6:"length";i:1;s:7:"collate";s:17:"latin1_swedish_ci";s:7:"charset";s:6:"latin1";}}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:1:{s:11:"LC_MESSAGES";a:0:{}}
@@ -1,2 +1,2 @@
-1361287086
+1361341905
a:1:{s:11:"LC_MESSAGES";a:0:{}}
@@ -1,2 +1,2 @@
-1361287090
+1361341866
a:1:{s:11:"LC_MESSAGES";a:0:{}}
@@ -1,2 +1,2 @@
-1361287090
-a:67:{s:9:"Configure";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/Core/Configure.php";s:4:"Hash";s:50:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/Hash.php";s:5:"Cache";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Cache/Cache.php";s:10:"FileEngine";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Cache/Engine/FileEngine.php";s:11:"CacheEngine";s:55:"/opt/lampp/htdocs/Addins/lib/Cake/Cache/CacheEngine.php";s:9:"Inflector";s:55:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/Inflector.php";s:12:"ErrorHandler";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Error/ErrorHandler.php";s:7:"CakeLog";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Log/CakeLog.php";s:19:"LogEngineCollection";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Log/LogEngineCollection.php";s:16:"ObjectCollection";s:62:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/ObjectCollection.php";s:7:"FileLog";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Log/Engine/FileLog.php";s:7:"BaseLog";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Log/Engine/BaseLog.php";s:16:"CakeLogInterface";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Log/CakeLogInterface.php";s:8:"Debugger";s:54:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/Debugger.php";s:6:"String";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/String.php";s:10:"Dispatcher";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Dispatcher.php";s:17:"CakeEventListener";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Event/CakeEventListener.php";s:11:"CakeRequest";s:57:"/opt/lampp/htdocs/Addins/lib/Cake/Network/CakeRequest.php";s:12:"CakeResponse";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Network/CakeResponse.php";s:9:"CakeEvent";s:53:"/opt/lampp/htdocs/Addins/lib/Cake/Event/CakeEvent.php";s:16:"CakeEventManager";s:60:"/opt/lampp/htdocs/Addins/lib/Cake/Event/CakeEventManager.php";s:15:"AssetDispatcher";s:68:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Filter/AssetDispatcher.php";s:16:"DispatcherFilter";s:62:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/DispatcherFilter.php";s:15:"CacheDispatcher";s:68:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Filter/CacheDispatcher.php";s:6:"Router";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Router.php";s:9:"CakeRoute";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Route/CakeRoute.php";s:10:"CakePlugin";s:53:"/opt/lampp/htdocs/Addins/lib/Cake/Core/CakePlugin.php";s:13:"AdsController";s:57:"/opt/lampp/htdocs/Addins/app/Controller/AdsController.php";s:13:"AppController";s:57:"/opt/lampp/htdocs/Addins/app/Controller/AppController.php";s:10:"Controller";s:59:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Controller.php";s:6:"Object";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Core/Object.php";s:19:"ComponentCollection";s:68:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/ComponentCollection.php";s:16:"SessionComponent";s:75:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/SessionComponent.php";s:9:"Component";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component.php";s:13:"AuthComponent";s:72:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/AuthComponent.php";s:13:"ClassRegistry";s:59:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/ClassRegistry.php";s:17:"ConnectionManager";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Model/ConnectionManager.php";s:8:"Category";s:47:"/opt/lampp/htdocs/Addins/app/Model/Category.php";s:8:"AppModel";s:47:"/opt/lampp/htdocs/Addins/app/Model/AppModel.php";s:5:"Model";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Model.php";s:18:"BehaviorCollection";s:62:"/opt/lampp/htdocs/Addins/lib/Cake/Model/BehaviorCollection.php";s:5:"Mysql";s:69:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/Database/Mysql.php";s:9:"DboSource";s:64:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/DboSource.php";s:10:"DataSource";s:65:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/DataSource.php";s:2:"Ad";s:41:"/opt/lampp/htdocs/Addins/app/Model/Ad.php";s:5:"State";s:44:"/opt/lampp/htdocs/Addins/app/Model/State.php";s:4:"City";s:43:"/opt/lampp/htdocs/Addins/app/Model/City.php";s:4:"User";s:43:"/opt/lampp/htdocs/Addins/app/Model/User.php";s:11:"CakeSession";s:66:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/CakeSession.php";s:4:"I18n";s:47:"/opt/lampp/htdocs/Addins/lib/Cake/I18n/I18n.php";s:4:"L10n";s:47:"/opt/lampp/htdocs/Addins/lib/Cake/I18n/L10n.php";s:19:"ControllerAuthorize";s:83:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/Auth/ControllerAuthorize.php";s:13:"BaseAuthorize";s:77:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/Auth/BaseAuthorize.php";s:15:"UsersController";s:59:"/opt/lampp/htdocs/Addins/app/Controller/UsersController.php";s:16:"FormAuthenticate";s:80:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/Auth/FormAuthenticate.php";s:16:"BaseAuthenticate";s:80:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/Auth/BaseAuthenticate.php";s:4:"View";s:47:"/opt/lampp/htdocs/Addins/lib/Cake/View/View.php";s:16:"HelperCollection";s:59:"/opt/lampp/htdocs/Addins/lib/Cake/View/HelperCollection.php";s:9:"ViewBlock";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/View/ViewBlock.php";s:13:"SessionHelper";s:63:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/SessionHelper.php";s:9:"AppHelper";s:54:"/opt/lampp/htdocs/Addins/app/View/Helper/AppHelper.php";s:6:"Helper";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper.php";s:10:"FormHelper";s:60:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/FormHelper.php";s:10:"HtmlHelper";s:60:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/HtmlHelper.php";s:14:"ModelValidator";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Model/ModelValidator.php";s:17:"CakeValidationSet";s:71:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Validator/CakeValidationSet.php";s:18:"CakeValidationRule";s:72:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Validator/CakeValidationRule.php";}
+1361341905
+a:60:{s:9:"Configure";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/Core/Configure.php";s:4:"Hash";s:50:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/Hash.php";s:5:"Cache";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Cache/Cache.php";s:10:"FileEngine";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Cache/Engine/FileEngine.php";s:11:"CacheEngine";s:55:"/opt/lampp/htdocs/Addins/lib/Cake/Cache/CacheEngine.php";s:9:"Inflector";s:55:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/Inflector.php";s:12:"ErrorHandler";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Error/ErrorHandler.php";s:7:"CakeLog";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Log/CakeLog.php";s:19:"LogEngineCollection";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Log/LogEngineCollection.php";s:16:"ObjectCollection";s:62:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/ObjectCollection.php";s:7:"FileLog";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Log/Engine/FileLog.php";s:7:"BaseLog";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Log/Engine/BaseLog.php";s:16:"CakeLogInterface";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Log/CakeLogInterface.php";s:8:"Debugger";s:54:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/Debugger.php";s:6:"String";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/String.php";s:10:"Dispatcher";s:56:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Dispatcher.php";s:17:"CakeEventListener";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Event/CakeEventListener.php";s:11:"CakeRequest";s:57:"/opt/lampp/htdocs/Addins/lib/Cake/Network/CakeRequest.php";s:12:"CakeResponse";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Network/CakeResponse.php";s:9:"CakeEvent";s:53:"/opt/lampp/htdocs/Addins/lib/Cake/Event/CakeEvent.php";s:16:"CakeEventManager";s:60:"/opt/lampp/htdocs/Addins/lib/Cake/Event/CakeEventManager.php";s:15:"AssetDispatcher";s:68:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Filter/AssetDispatcher.php";s:16:"DispatcherFilter";s:62:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/DispatcherFilter.php";s:15:"CacheDispatcher";s:68:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Filter/CacheDispatcher.php";s:6:"Router";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Router.php";s:9:"CakeRoute";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Routing/Route/CakeRoute.php";s:10:"CakePlugin";s:53:"/opt/lampp/htdocs/Addins/lib/Cake/Core/CakePlugin.php";s:13:"AdsController";s:57:"/opt/lampp/htdocs/Addins/app/Controller/AdsController.php";s:13:"AppController";s:57:"/opt/lampp/htdocs/Addins/app/Controller/AppController.php";s:10:"Controller";s:59:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Controller.php";s:6:"Object";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Core/Object.php";s:19:"ComponentCollection";s:68:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/ComponentCollection.php";s:16:"SessionComponent";s:75:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/SessionComponent.php";s:9:"Component";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component.php";s:13:"AuthComponent";s:72:"/opt/lampp/htdocs/Addins/lib/Cake/Controller/Component/AuthComponent.php";s:13:"ClassRegistry";s:59:"/opt/lampp/htdocs/Addins/lib/Cake/Utility/ClassRegistry.php";s:17:"ConnectionManager";s:61:"/opt/lampp/htdocs/Addins/lib/Cake/Model/ConnectionManager.php";s:8:"Category";s:47:"/opt/lampp/htdocs/Addins/app/Model/Category.php";s:8:"AppModel";s:47:"/opt/lampp/htdocs/Addins/app/Model/AppModel.php";s:5:"Model";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Model.php";s:18:"BehaviorCollection";s:62:"/opt/lampp/htdocs/Addins/lib/Cake/Model/BehaviorCollection.php";s:5:"Mysql";s:69:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/Database/Mysql.php";s:9:"DboSource";s:64:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/DboSource.php";s:10:"DataSource";s:65:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/DataSource.php";s:2:"Ad";s:41:"/opt/lampp/htdocs/Addins/app/Model/Ad.php";s:5:"State";s:44:"/opt/lampp/htdocs/Addins/app/Model/State.php";s:4:"City";s:43:"/opt/lampp/htdocs/Addins/app/Model/City.php";s:4:"User";s:43:"/opt/lampp/htdocs/Addins/app/Model/User.php";s:11:"CakeSession";s:66:"/opt/lampp/htdocs/Addins/lib/Cake/Model/Datasource/CakeSession.php";s:4:"I18n";s:47:"/opt/lampp/htdocs/Addins/lib/Cake/I18n/I18n.php";s:4:"L10n";s:47:"/opt/lampp/htdocs/Addins/lib/Cake/I18n/L10n.php";s:4:"View";s:47:"/opt/lampp/htdocs/Addins/lib/Cake/View/View.php";s:16:"HelperCollection";s:59:"/opt/lampp/htdocs/Addins/lib/Cake/View/HelperCollection.php";s:9:"ViewBlock";s:52:"/opt/lampp/htdocs/Addins/lib/Cake/View/ViewBlock.php";s:10:"HtmlHelper";s:60:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/HtmlHelper.php";s:9:"AppHelper";s:54:"/opt/lampp/htdocs/Addins/app/View/Helper/AppHelper.php";s:6:"Helper";s:49:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper.php";s:13:"SessionHelper";s:63:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/SessionHelper.php";s:15:"PaginatorHelper";s:65:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/PaginatorHelper.php";s:8:"JsHelper";s:58:"/opt/lampp/htdocs/Addins/lib/Cake/View/Helper/JsHelper.php";}
Oops, something went wrong.

0 comments on commit f02ff83

Please sign in to comment.